Refactored: the doctype list is now generated from a view instead of design documents
attachment routes return JSON in their body
Merge pull request #38 from jsilvestre/master

Refactored: the doctype list API
Merge remote-tracking branch 'upstream/master' into feature/prohibitUnauthorizedRequests
use slug for application name