When patching the define callback, maintain the arity of the callback

This lets patchDefine work with modules like backbone.projections that
manage their own dependencies in a require-like fashion.
Merge pull request #73 from cmaher/patch-define-arity

When patching the define callback, maintain the arity of the callback