Issue95 inline extensions

This PR is now based on the new Groovy DSL.
It is possible to define extensions inline but also to refer to separate files containing extensions in this DSL.
Sorry, had a typo in my change. :(
Will change as advised.