Speed up massSearchReplaceAnyInputTag() (from Matti).
Merge pull request #723 from vadler/53X-improvePythonTool

53 x improve python tool