Add a jinplace:fail event so that error handling can be done.

This is called after the input has been removed and the text
restored.

--HG--
extra : histedit_source : 1f0d772f1d87d2cd8e900767ef2f442912fa98e2%2C2729c0e9549e217bf2061c95e04f09f6e30bca49
Add events jinplace:fail and jinplace:always.

jinplace:fail is called after the submit fails
and jinplace:always is always called success or failure.
The jinplace:always callbacks are called after any
success or failure callbacks.
Change the time that the events are triggered.

Events are triggered after the submit operation and before
the edit field is taken down and replaced by the plain text.
Documentation for the events.
Merge events branch.
Change const -> var as not supported in ie6
Event tests for when there is a submit function.
Document arguments for the event handlers better.

Release checklist too.
Release 1.1.0

This release adds and documents events that are triggered after the
submit is processed.
Added tag v1.1.0 for changeset 0cdc37f86673