Move Parser object into dedicated Wordpress and Drupal objects

also added phpunit