fix for ressource leaks, encoding bug
pom.xml updated, excluding solr and couchdb