inVRs uses std::auto_ptr in several places
Occurrences of std::auto_ptr should be replaced with C++11 smart pointers where available.
Use std::unique_ptr instead of std::auto_ptr.
This silences deprecation warnings in "newer" compilers. For now, a fallback
has been implemented to use auto_ptr when unique_ptr is not available. This is
very light-weight (preprocessor definition), but will of course break when
someone uses unique_ptr in a way that is not compatible to an auto_ptr.
When the dependencies of inVRs are next reviewed, it would make sense to
require a newer compiler and disable this workaround (and maybe other
workarounds in cmake/platformtests.cmake).