Partial refactor.
Fixed more build errors
Fixed remaining build errors
Refactored all DAOs to use try-with-resources
Read db credentials from config
Fixed conn issue in DBContextFactory
Removed chatServer declarations
Logging /sell to trade table with recipient_id=0
Added querylog for sql benchmarking
Changed blocklog to use new dao context
Minor cleanup of gamemagic
Added config.yml.template
Support for multiple homes
Merge remote-tracking branch 'origin/dao_refactor' into dao_refactor
Using ChatPlayerEvent instead temporarily
Adjusted permissions
Fixed error when loading offline TregminePlayers
Fixed exception in LotCommand
Fixed auto-bless circumvention with sticks
Fixed exception in GameMagic.onElevatorUse