Add a 'check' target for better testing.

This makes CTest output the results of failed tests, by default.
Merge pull request #113 from ahmedcharles/testing

Add a 'check' target for better testing.