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.