Replacing set with unordered_set

We are using the C++ Technical Report 1 (TR1) implementation for "unordered_set", however, this may be replaced with the new C++11 standard (probably needs a compilation directive to be enabled at the moment)