move common pom code to parent, run generated tests in all apps
implement expansion for collections
Merge pull request #81 from dennishendriksen/master

Move common plugin code to parent pom + REST API improvements