MBS-5761: Can't use keyboard shortcuts to create a new work in the releditor

Turns the "Create a new work" link into a button, so that you can tab to it, and press enter/space to click it.

Allows closing any dialog using the esc key. Some general browser workarounds were necessary to avoid quirks with the autocomplete plugin.

Manually tested in Firefox, Chrome, Opera 12.12 and Opera 10.00. Can be tested on http://bitmap.mbsandbox.org/