Remove dead code.
Merge pull request #114 from ahmedcharles/dead

Remove dead code.
Add a 'check' target for better testing.

This makes CTest output the results of failed tests, by default.