title: Locomotivejs Check MongoDB connection before all actions
body: <p>I want to check MongoDB connection and reconnect to it if it's not in "connected" state, before any query is made to it from withing a LocomotiveJS server. A possible way is to add have it in the before filters. Is there any way to define a before filter for all controllers?</p>