manager.addMiddleware
Add a middleware to the middlewares chain.
middleware
db.addMiddleware(require('monk-plugin-dereference'))