Added composer and phpunit.xml.dist files for unit tests, and functional tests