This allows postLoad and family to work.
add lifecycle callback handling, based on mongodb odm
thx! i will try to play with this tomorrow. not sure if the pull that i made that was merged today removed unit tests you used for this feature, but either way it would then be necessary to re-add those tests.
i cleaned this up and documented which event occurs when.
@brian: for our project, we probably want to use the EventManager and register some of the events, rather than annotations. otherwise we would have to repeat the annotation for each document. see the end of the updated README and the EventManagerTest for more.