GF-3297: load files from an alternate root location

The glue code now looks at the loadParams.root option which tells it which path to look in for the localized files. If
this option is not specified, it defaults to the previous path of "resources" underneath the dir where the index.html
is located. The same change is implemented for nodejs as well.