Fix tests with new Xtend.
Fix & enable maven build.
Merge pull request #49 from stativ/master

Test and maven fixes by @stativ