Change direct javascript event bindings to document bindings.

This should enable those bindings on elements that are added via
javascript.

Documentation: http://api.jquery.com/on/

Trello Card:
https://trello.com/c/7zELFeYx/399-edit-mode-bearbeiten-nach-ajax
Make escape canel the edit_mode, even if there is no cancel button.

There were cases, when the app did not include the cancel button due to
simplicity reasons. Pressing the escape key led to strange behaviour
where the modal was cancelled, but the region stayed in edit_mode. This
patch fixes this behaviour.

Trello Card:
https://trello.com/c/lQpcAlKx/435-fix-edit-popup-bleibt-nach-drucken-von
-esc
Bump version to 1.0.0.

This gem works fine, now. It’s time for version 1.0.