Impl for #271: Improved maven support and generating FatJar, plus some unit test suite patches for maven build