Use compile-time checks to select C++11 includes if present, else fall back on tr1 implementations.
Fix issue where component vector could shrink, destroying valid components.

The component vector should only be resized larger.
Merge pull request #9 from jpschorr/master

Fixing issue where component vector could shrink/Use compile-time checks to select C++11 includes