Refactor pattern-matching code out of findRequires and make it more reusable.
Sniff for AMD evidence when moduleType is unknown.
Allow onMatch callback to return false to terminate scanning.
Ensure that comboRx regexp is reset for each file.
Stop inferring moduleType by scanning bower.json.

This mechanism never actually worked except for cujojs project since we scan for the word "cujo" (as well as "amd", etc.).
Always succeed at providing a moduleType when instantiating.

We know that bower is 99.9% amd or globals atm, so we can reasonably pick one of these.
Implement more efficient algorithm that skips over comments and quotes.

Allow onMatch callbacks to return a new index position.
Fix tests.
Add RegExp support to the code finder.
No longer fails to find the end of a blank string.
Add module name and address to errors thrown when parsing.
Merge pull request #46 from RaveJS/auto-amd

Auto-sniff for AMD when moduleType is unknown.

Includes significant refactoring of the code-parsing subsystem, too.