added phpunit docs and support for phpmd