API Overhaul Again

I figured out how to properly use Angular's $http with POST requests, so now parameter passing makes sense. Instead of parsing the request URL for the parameters (in order, with none missing), the parameters are sent as request data and are key/value pairs. 

Also added a few fixes from major project review and added support for HTTP methods other than GET and POST.