allows for amd module to be loaded by shadow plugin

proposed patch for #19, this injects an overridden **define** method, if the shadow plugin is loading any AMD source, the dependencies asked by the original define method will be fulfilled by this function instead.