added formatter middleware
added test deps
added doc
additional middleware tests
added content-type to middleware
added test for content type
update for async formatter
use safer method to set content-type
manage error in middleware
Merge pull request #2 from lemonde/middleware

feature(middleware): ajout d'un middleware pour utiliser le formatter