Updated to C++11 recommended style

Added override and switched using for typedef
Fixed clang compiler error

Removed incorrect use of typename. This change also works fine for gcc.
Merge pull request #5300 from Dr15Jones/clangFixPhysicsToolsSelectorUtils

Clang fixes for PhysicsTools/SelectorUtils