bring in phpunit via composer

phpunit so far wasn't managed as the projects dev requirements via
composer. it has been added now:

- initialized .gitignore
- phpunit via composer
- fixed wrong line-separator usage in test