The New South Wales government has committed almost half a billion dollars to support women and children escaping domestic and family violence.