Before and after hooks for Meteor Collections that work on client and server