Use C++11 std and stdlib on OS X >=10.9, C++03 on <=10.8

This is the only way to get a build. Trust me.
Fixed PackageConfig.cmake. Dependencies are searched by components and context is always restored to its previous state.
Merge pull request #209 from tribal-tec/master

Fix duplicate test targets, fix 'make tests'
Merge pull request #208 from rdumusc/master

Fixed PackageConfig.cmake.
Add test macro printing result of a failed operation
Merge pull request #210 from eile/master

C++03/11 apple fix, test macro
Bugfix: CommonLibrary error with multiple library types

When XXX_LIBRARY_TYPE is a list, e.g. STATIC;SHARED, CMake
fails on line 94.
Merge pull request #213 from eile/master

Improved version for #212
Extend SubProject
Make clangcheck target Superproject capable
Merge pull request #214 from eile/master

Make clangcheck target Superproject capable
Reset components for subsequent find_package