Converted tests to phpunit

Added makefile to run unit tests, use linting and style checks
Merge pull request #10 from Vektah/v2

Converted tests to phpunit