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
Refactor by using improved resource managment
Merge pull request #596 from lobid/issue-1-mabxml-elasticsearch

Update to use metafacture 2.0 and java 1.7