Move phpmd before phpcs and chain phpcs after phpmd after php

That makes up a nice chain, that checks for syntactic, semantic and
stylistic correctness in the right order.
Change flycheck-phpmd-rulesets value to a list of strings