Delete route for investment

Fixes #17

Other changes:
- Moved the error checking from route to the model so route doesn't rely on
mgo.
- Added test for NoData success response.