Core/Objects: Some optimizations to object updatemask building
Core/EventMap: Internal changes and doxygen doc

See http://www.trinitycore.org/f/topic/7003-doxygen-documentation-and-hacks for details and examples.
Thanks to @Shauren for several hints.