Rewrite an absolute ton of Angular and REST code

This change rewrites a good portion of Angular REST service code, along with the corresponding Java service code. The JSON for each request is also now documented.
Do we need to do this wrapping here?