Added Battleground Hooks for Eluna
Fixed a couple of time-related events and other compatibility issues
related to Eluna (Thanks to Salja for the hooks and fixes)
Also added a compiler definition in cmake (using c++11) to fix
warnings and a runtime crash on login when building with the clang
compiler