Moved detoursutils to a namespace and also optimized a bit.