Added PHPunit tests.
Added composer.json.