Initial attempt at loading all resources from the extension

Currently, I have added a few references in index.html because tern
tries to use require when it is present, but it is expecting node.js
require rathen than requirejs, which have some small but killer
difference.  I gotta wrap a few things in shims and modules