Use Maven Invoker API

In the end the Maven invoker API was used as it both simplifies the code and fixes some errors with the build.

Downside: app size grows again

Closes #5
Merge pull request #12 from varomorf/issue5

Use Maven Invoker API