First arg of resolve method should be optional.

This is because you may want to resolve a deferred without passing anything.
Merge pull request #1892 from bczengel/fix_jquery_deferred_resolve

First arg of resolve method should be optional.