Remove outdated test for default bower moduleType.
Make createCodeFinder a bit more reusable by allowing RegExp to detect code transitions, as well as the function to skip past non-code, to be injected.