Implemented proper response codes for request errors.

Response errors are returned as JSON with two keys, error & and error_message. Error will be set to true (useful in cases where clients have trouble reading response codes) and error_message will contain a helpful error message for developers.
Removed a couple directories from the class loader.