Added a test for error and send back rejected deferred in that case (example upload size is too large)
Removed some unused dependencies.
Deleted unused route, and removed some dependencies.
Added some options to the form parser for validation.
Updated the config with the maximum file size.
Hardened the attach asset route to have some better error handling.