Add main.basedir property
Remove unused .gitignore files
Update to latest maven plugins
Support 'headless' applications

Update SpringApplication to run by default in 'headless' mode. This
prevents the AWT system from creating a Java icon (for example in the
OSX dock).

Also update builds to run tests in 'headless' mode.
Polish