Changed the way Express.app.locals are attached to Locomotive