Merge pull request #1 from LearnBoost/master

Merging latest
Adding test for doc.toObject({minimize: true, getters: true }), for #1607
Working version of minimize in document.toObject, negative speed impact
Refactored minimize functionality for document.toObject, improves performance
Merge pull request #1744 from JedWatson/master

Solution for Issue #1607
For WebStormers
No hooks used
Better usage & better names
Setup hooks error propagation only when hooks are used
Reorder promises so first check doc
Document this hack
Redundent
Now we know more
Got promise
More promise
Green!
Private naming convention
Even less
Promise optimized
Finaly save in a promise