Modified C++11 detection methods. I *hope* this works better with CMake.
Updated to latest ccoifits.
Adding script for travis-ci integration.