[Refactoring] Move exactly same matchArg functions up to base class
fix Issue 4018 - __FILE__ and __LINE__ as default template parameters not set to instantiation point per spec

Also fixes __MODULE__, __FUNCITON__, and __PRETTY_FUNCTION__
Merge pull request #2617 from 9rnsr/fix4018

Issue 4018 - __FILE__ and __LINE__ as default template parameters not set to instantiation point per spec