Add logger, query parser and favicon middlewares.