- Fixed bug on embedded.js in which all parent array active paths were being ignored instead of the index corresponding to the embedded document instance.
- Added support for save calls (and therefore hook calls too) to embedded documents in which their parent array were not appearing on the init or modified state of the active paths.
- Added embedded tests to make sure hooks are called as expected.
- Added conditional code on tests that uses MongoDB v2.6 features only when testing on that version, otherwise does something similar working on previous versions.