Core/Shared: Moved Database(dir) to be insync with TrinityCore,

- this fixes many issues, credits to those that helped contributed to this patch.

Todo: after i readup and finger it out abit better for common uses, need to
- clean up and correct if needed TokenStreams