Update to use metafacture 2.0 and java 1.7

* add metafacture core to travis and pom
* add mysql connector to pom.xml
* close some potential leaks