Fix build on JDK 1.8.
Fix build on clean repo: Load ant dependencies.
Fix various ant and maven issues causing test failures. Upgrade MySQL driver.