made the conversion of a real context to a skinny one work properly. added DevMode to the router if we are in dev environment