Add module-local variable binding __moduleName = normalizedName

Remove .js from test input URLs.
Add test for __moduleName;
Adjust tests for AMD and commonjs, they now see __moduleName.

Fixes issue #694

Review URL: https://github.com/google/traceur-compiler/pull/695

Closes #695.
Fix infinite loop when regexp ends on line

Fixes issue #696

Review URL: https://github.com/google/traceur-compiler/pull/697

Closes #697.