Begin porting to Smack 4.0 (aSmack 0.9)

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Merge branch 'master' into smack4
Merge branch 'master' into smack4

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>

Conflicts:
	src/org/kontalk/ui/ComposeMessageFragment.java
Merge branch 'master' into smack4
Merge branch 'master' into smack4
Merge branch 'master' into smack4
Merge branch 'master' into smack4
Merge branch 'master' into smack4
Merge branch 'master' into smack4

Conflicts:
	src/org/kontalk/ui/ComposeMessageFragment.java

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Upgrade aSmack to latest 4.0.0-RC2 snapshot (#137)

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Merge branch 'master' into smack4

Conflicts:
	src/org/kontalk/service/MessageCenterService.java

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Merge branch 'master' into smack4
Testing hold/release while sending a message (proceeding on #126)

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Remember last push notification and overrule connection policies (closes #126)

When a push notification is received and the message center could not
connect for whatever reason, the connection policy should be temporarly
disabled to allow the app to retrieve the incoming messages waiting for
us.

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Include MIME also when resending pending message (fixes #168)

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Copy some maintenance preferences into bootstrap preferences

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Allow to store public key for unknown users (fixes #144)

Unknown users are now stored with "(unknown)" temporarly. They last
until next sync and the have the phone number equals to their hash.

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Prefer "settings" over "preferences" in i18n (thanks @laudaka)

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Merge branch 'master' of https://github.com/kontalk/androidclient
Blocklist request: remove packet listener after use

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>