simplify loader detection
clerical changes to simplify loader detection,
- reuse moduleid regexp replacing separately created regexps
- remove esmockIsLoader.js export from esmockLoader.js instead
- simplify esmockIsLoader, per review @koshic
clerical changes to simplify loader detection,