SMACK-415 Applied patch to fix improper use of parser.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_0@13590 b35dd754-fafc-0310-a699-88a17e54d16e
SMACK-415 Added fix for handling the empty tag case.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_0@13624 b35dd754-fafc-0310-a699-88a17e54d16e
SMACK-415 Added code that was mistakenly removed to handle optional node attribute

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_0@13625 b35dd754-fafc-0310-a699-88a17e54d16e
SMACK-437 Replaced 'String.isEmpty()' with 'String.length() > 0'

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_0@13631 b35dd754-fafc-0310-a699-88a17e54d16e
SMACK-438 Avoid NPE when the weak reference is null. Add InvitationsMonitor as strong reference within getInvitationsMonitor and return it within the block so it can't get gc'ed between put() and get().
SMACK-439
SMACK-369 remove try/catch block in XMPPConnection.connect()

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_1@13660 b35dd754-fafc-0310-a699-88a17e54d16e
Spelling fixes

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_1@13661 b35dd754-fafc-0310-a699-88a17e54d16e
SMACK-428 add 'public int RosterEntry.hashCode()'

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_1@13662 b35dd754-fafc-0310-a699-88a17e54d16e
Imported SMACK code style from http://community.igniterealtime.org/docs/DOC-1984 . Thanks to Henning Staib
SMACK-339 Allow ConnectionListeners to be added before Connection is connected