Convert usage of phpunit to a library.

This interface is more programmatic and easier to handle code coverage
report for.
Convert usage of phpcs to a library.
Merge pull request #8 from nubs/master

Convert phpcs/phpunit to library usage.