Use javassist build plugin api

Work on #38. Can be merged.

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.