Add local install of phpunit to composer. Update gruntfile bin path.
Add DetectorResult tests.