Bug 922308: Add ability to load JSMs via loader

Adds ability to load JSM files, via relative or absolute (resource) paths, and js files via resource paths:
```
require('./File.jsm');
require('resource://gre/modules/File.jsm');
require('resource://gre/modules/commonjs/sdk/file.js');
```