Strip gcc, cetbuildtools and ups dependencies

Use CheckCXX11Features modules to detect C++11 features and standard
library used by project. Replace hardcoded config header by one
generated at configure time with CPP0X_HAS_XXX identifiers
defined/undefed based on the detected C++11 features.

Use GNUInstallDirs module to set basic installation hierarchy,
using this in existing install commands. This provides a well
understood hierarchy whilst still allowing the UPS "project/version"
system to be set at configure time.

Build tests by hand, linking them to Boost's test framework and
setting compile definitions as defined in Cetbuildtools/CetTest.
May want to use CetTest down the line, but these tests are nice and
simple, so may not need all the extra functionality.

TODO: Tests do not compile on OS X with Clang.