Added support for queue dependencies.
When autoresolve : false, script dependencies do not resolve on load.
Instances with 'cwd' property will set the current working directory to
the 'cwd' context for relative dependency loading.