Ensured that failed ajaxSends have their invocation callbacks cleared.

- Involved having two parameters for our error callback binder.
- This code path wasn't run for a while due to never receiving the origData in the callback, therefore had to remove some legacy functionality.
- Also added a test to ensure that failed sends clear invocation callbacks.

#2693
Merge branch 'release' into dev