Refactor to improve maintainability + add deployment configs

Since we are not separating the API from the DB and importer,
it makes more sense to keep the api files in a separate folder rather
than the root.
- Couch DB views to separate design docs, so that reindexing
does not hinder performance of other queries
- DB config file allows for different environments
- DB grunt file compiles and pushes design docs to couchDB
API: NumTransactions did not work and wont be supported in its current form
Readme did not define API calls
Prep for automated deployment