add #!/usr/bin/env php
Fix PMD issues
Add some JSon tests
Add editor config
Fix PMD
Fix XML tests and test tool
Fix PMD