Remove boost_thread dependency and fix crash
Use libmysqlclient instead of libmysqlclient_r
Remove redundant includes (otpch is global).
More include cleanups
Remove libboost-thread-dev from Travis
Move OTSYS_TIME() to tools.h

This commit also removes all trailing whitespace from the source files.
Cleanup
Fix startup crash
Remove unused includes
Pass std::functions as const reference
Remove unnecessary npc reloading at startup
Code cleanup