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.
Move .clang-format to src directory.

Less unnecessary files in the top directory.