Added support for postFlush event

- This event allows ->flush() to be called from its listeners.
Added support for LoadClassMetadata event
Added preFlush event
Fixed docblocks
Merge pull request #245 from dantleech/postFlush

Added missing events.