Updates: PHPMD to 2.0.0.*@dev in composer.json

Updates PHPMD to newest version, since current one does not work out of the box anymore. Version 2 has yield support too.