Add config for generating sources and javadoc required for Maven Central
Tweak .gitignore to ignore target/ in all folders