Issue#11 add php unit

Issue #11 finalized phpunit config, added test logging to git ignore, and added pre-commit hook