add create and delete a docType
add docType controller
add test docType
name of docTyp should be unique
ignores lowercase and uppercase for doctype and name
code cleaning: reduce repetition of tests on environment
add doctypes list
add tests for doctypes list
Merge pull request #25 from mycozycloud/development

Doctype List for Scopy Left
add mails controller
add permissions for send mail
Merge pull request #14 from poupotte/feature/docType

docType API
Merge branch 'feature/sendMail' of github.com:poupotte/cozy-data-system

Conflicts:
	config/routes.coffee
comment mail tests
Merge pull request #28 from poupotte/master

Comment mail tests
comment test with wrong mail (use postfix)
Merge pull request #29 from poupotte/master

Debug travis tests : comment test with wrong mail (use postfix)
add range in header requests and abort stream if it is necessary
Merge pull request #30 from poupotte/feature/upload

add range in header requests and abort stream if it is necessary
add route to get bank account history from indexer