php: fix phpmd to use post_args

PHP mess detector expects the filename as the first argument, followed
by the output format and the rules. To fix this, use the 'post_args' to
provide the arguments.
Also change the subchecker to 'phpmd' instead of 'phpcs'.
Merge pull request #460 from teranex/master

Fix php mess detector in php