clean up of ChatView - get OTR instances directly, no local variables
also don't reset remoteAddress form incoming message
just use what the chat is bound too
make sure cursorchats is not null
combine two methods that are only used together
clean up of handling otrswitch state
fix local link setup, and mark messages as INCOMING
strips resource from outgoing addressing (makes OTR work again!)
we really don't need the toast messages here
this is especially annoying for LLXmpp since you add contacts all the time
make sure we don't get stuck with a hung logout
Merge pull request #315 from n8fr8/bug_bonjour_broke

Bug bonjour broke