Move more into WP_JSON_User_Resource

`get_called_class()` instead? We should use that throughout this file (and for that matter, we may want to move it to a compatibility function?)