Find external dependencies

When almond can’t find a dependency, see if we can find it using requirejs or in the global scope before throwing an error.

This allows one to compile a project that has some external dependencies, and still use it with or without using requirejs. For example, building a jquery plugin module.