Added on_message hook

Browser plugin now uses last received hyperlink when no arg supplied
Added get_current_recipient to api

Browser plugin now uses last link received in a chat window