Revert "Revert "Merge pull request #77 from j883376/cleanups""

This reverts commit d25205d9d381dc83d610fa1084019b90cfe83e1c.
Fix Database::GetZoneID()
Merge pull request #78 from j883376/cleanups

Code cleanups, take two
Windows compile error again, why wasn't this fixed on the second pass. I brought it up last time grr
Compile error in AA.cpp
Basic lua packet api, and it works too.  Exciting I must say.
Fix for bot compile
Lua packet handler dispatch
Changelog for lua_packet