Merge pull request #8 from hgschmie/master

PMD and Unit test fixes.
Add license
fixes for newer qpid in tests