less middleware fix

This pushes the less middleware config into `middleware.js` and changes the logic slightly. Previously less middleware would only get set up for *development* and *production* environments, meaning that it wouldn't work on staging. Now it's set up with production defaults, but overridden with development settings if the NODE_ENV === development. This way staging and production should share the same settings.