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.
Well of course it doesn't filter connections based on groups.

Also I know what you mean and I'll fix the comment.