Call require.toUrl() on spec ids.

require.toUrl() ensures that ids are converted to paths via the `paths` and `packages` AMD config options.
Fixes #160.