The New South Wales government is introducing sweeping changes to make it harder for people accused of serious domestic violence offences to get bail.