Replaced Vectorset with unordered_set.

Appropriately used deque when elements were intended to be ordered.
Fixed a build bug involving parallel execution of the svnrev generation.