Add 'history' capability to the chatbox input

This PR contains a plugin that gives the chatbox input area 'history' capabilities:

 * alt+up (or ctrl-p) shows previous item, alt+down (or ctrl-n) shows next item
 * escape clears current line
 * 20 items of history retained

Also, this PR reinstates the capability of entering multiline text using alt+enter.