Added support for setting dot template settings through express-dot
Make sure that any errors are caught, when they are uncaught it crashes the http server.