All modules moved to dependency arrays.

This allows us to now support other AMD loaders, in particular, dojo.