Use javassist build plugin api

PRELIMINARY WORK. DON'T MERGE

Uses the new https://github.com/stephanenicolas/javassist-build-plugin-api

Let's see what @chibash says about the groupid and artifactid. 

Gives @barthel the opportunity to see what would change when using a unifed api. 
I also added an exception so that it can be easily extended.