Inbuffer now matches input behaviour (irc.client.js)

Prior to this change, moving the cursor in `irc.client.js` would not change the nature of input (which just appended to `inbuffer`).

In this change, inbuffer now inserts characters at the position of the cursor.