Added MySQL JDBC driver functionality to plug into JBoss.

Tests passing.  Also cleaned up some code here and there throughout.
Docs still need updating, will complete after I add in ehCache.