Bring metadata project up to current standards

 * cleanup all pom.xml
 * define versions in single place
 * remove duplicate configurations
 * enable few more checkstyle rules & fix code accordingly
 * fix failing validation test on windows
 * enable checkstyle also on test classes
 * all versions are parametrized