added test demonstrating bug
Let legacy loader export both flavors of id.

Since the underlying mechanism of curl loaders is plugins, curl caches the modules as "<loader-id>!<module-id>", but other modules will be looking for them as just "<module-id>".  By calling `define(<module-id>, thing)` before returning the module via `load(thing)`, we can cache both flavors.
Merge branch 'mmacaula-non-amd-require-test' into dev