data: auto negotiate OTR and resend requests on OTR activated

still issue with auto negotiate
data: make offers retry after OTR negotiation

fixes #2035
move network broadcastreceiver from :remote to main process

fixes #1927
Merge pull request #343 from eighthave/master

ant: get APK name from app_name in res/values/strings.xml
Refactor ContactListFilterView with CursorLoader

fixes #2240
Refactor ChatPagerAdapter with CursorLoader

fixes #2240
Revert synchronization of methods which cause blocking of UI thread

fixes #2240
Refactor ProviderListItem using AsyncTask

do not perform DB or RPC on UI thread

fixes #2240
Synchronize broadcasting from the contact list manager

fixes #2240
Merge branch 'upstream' into cursor

Conflicts:
	src/info/guardianproject/otr/app/im/app/NewChatActivity.java
AccountAdapter refactored

issue #2240
Switch account lists to CursorLoader

fixes #2240
Put back the account list empty view

issue #2240
Update contact filtering

issue #2240
make sure we disconnected cacheword when welcomeactivity is destroyed
use this cursor, even though it doesn't have all the data yet
only set the list adapter when activity is created, not on each attach
there was some unnecessary cursor code on signout here
make sure we show a "signing out..." state
it can take a while, and before we were incorrectly showing "online"
checking for dead/bad remote connections, and if so, refresh