now events can be sent remotely

Ignore-this: 56e5076312f3189492f9311ef0c78e5e

All lua api classes which have callbacks will now send all events remotely
if you give an instance a name via set_name. This provides a super simple way
to have a UI that gets events locally or remotely transparently.

Also there is backward compatible breakage. the callbacks to edit and text_edit receive
the text now in the callback

darcs-hash:20140506054927-c21fe-8997bbb7143529072c91a7bb1c85c29c8a57f8be
updated to new edit callbacks which take text

Ignore-this: 46e2b5c3d980e771c30f6651d3dd5626

darcs-hash:20140506055451-c21fe-689b6d538351cbe17885ab7a7985116afc634565