remove console.log
return 401 if application is not authenticated and 403 if app is not authorized
return true in checkProxyHome in development environment
add cozyinstance in proxy permissions
add test for authentication and authorization
correct index test
process.env.TOKEN is equal to 'token' by default in test environment
code cleaning: reduce repetition of tests on environment
merge conflict
debug error when merge conflit
prohibit unauthorized requests
change tests for permissions
debug tests
Refactored: the doctype list is now generated from a view instead of design documents
attachment routes return JSON in their body
merge conflict
remove redundancy
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