Fixing broken tests.

Basically needed to add more mocks. It also looks like this is what
was breaking Travis, so hopefully that will improve the project build
status

I also was able to unify the test/projectile-test executable and test
execution from the Makefile.
Merge pull request #62 from joelmccracken/master

I fixed the broken tests