Changed RegExp that checks whether requirejs should add ".js" to module path.

All paths in karma starts with a slash so karma-requirejs have problem with loading module created by user. My PR changes the default behavior of requirejs to correctly interpret the path provided by karma.