Changes for Jenkins Support.  

Basically a large update to get all the tests passing on MySQL, and setup the structure to support being called by jenkins.