This makes pluginify play nicely with other AMD loaders

This change makes pluginify play nicely with other AMD loaders by
setting the original `define` back onto global before executing the
callbacks.