moved logging.
Renamed methods.
Fixed queryForInt deprecation in Spring 3.2
Rip out existing stats stuff which we'll be redoing shortly.
Removed more of the existing task/layer/stats code.
Removed last remaining job stats functions, hopefully.
Phase 1 of the big reorganize/rename for the stats system.  Updated SQL column names to be more consistent.
Added a doc string on some triggers
Moved out task dispatching functions to DispatchTaskDao
Moving around some dispaching tests.
Setup some basic historical tables for jobs, layers, and tasks.
Merge branch 'master' of github.com:sqlboy/plow
Switched to compact protocol.
Thrift changes. Added LayerStatsT and JobStatsT structs.
Merge branch 'master' of github.com:sqlboy/plow