Add .cast() method to Schema# + works as middleware .cast(err,res)
Auto apply .cast() middleware on query events
Update tests to correctly handle middleware