Fixes to conform to code conventions.
Adds dependency, tomcat dbcp
Fixes bin log reader to use resources from DataSource.
Fixes to flag not to use bin log cache if fails to spawn up the thread.