Core/Misc: multiple changes
* fixed build
* apply tc codestyle to ObjectGuid class
* fixed warning