Fixed or suppressed some warnings.

Also removed some duplicate code, like SharedStringUtil.prettyPrint()
and time formatting.
transport-xmpp: Changed aSmack version to 0.9.0-SNAPSHOT-2014-04-05