updated to phpmd v2
Updated travis config and badge