Added to pom.xml dependencies mysql connector and dbunit.
Changed to Java 7 syntax.