Fix focus and blur functionality

sendToServerImmediately was only called on a blur event. Also, it only sent the event to the server when the text changed. Calling sendToServer(true,true) immediately sends, no matter if the text changed or not.

This way, focus and blur listeners work as they should.