Return the group if it exists in Roster.createGroup()
Move duplicate sendPacket() code into XMPPConnection
getInstanceFor() for ChatManager and AccountManager
Fix javadoc warning in xdata.Form
Fix javadoc in MUCInitialPresence.History
Move sample/ into resources/
ChatManager should not throw a NPE if 'from' is null

Fixes SMACK-551
Move host/port from ConnectionConfiguration to XMPPConnection

There semantic is that they now report the host used to establish the
connection. Therefore BOSHConfiguration needs to hostAddresses for
getURI().
Fix error handling in BOSHConnection

getCause() never throws. Not sure why the code was written that
way. Thanks to CSH for reporting.
Improve Exceptions (SMACK-426)
Unify StringUtils.escapeForXML()

Rework StringUtils.escapeForXML() so that it can be used also for
StringUtils.xmlAttribEncodeBinary(). escapeForXML() now uses a
switch/case statement, which should leave the (JIT) compiler more room
for optimizations.

Removing the "do not escape unicode character references", because
this behavior, introduced with
8264ebdfb5d083ec6c907d1ce55012b011f99476, is incorrect.
Move DNS resolving into connect()

It was misplaced in ConnectionConfiguration anyways, as the sole
instantiation of a ConnectionConfiguration should not cause any network
I/O.
Switch jbosh to 0.8.0-SNAPSHOT
 "not connected" is now a checked Exception thrown by sendPacket()

There is a unsolveable race condition between the connection state and
sendPacket(), i.e. the connection could go down, right after the
method calling sendPacket is called, but before sendPacket() is
invoked. Before this change, sendPacket() has thrown an unchecked
IllegalStateException, which could be ignored by the Smack user, who
would also not notice the race condition. We have decided to throw a
checked Exception in this case now, to make the Smack user aware of
this situation.

SMACK-426
Added support for HOXT (XEP-0332)

This is initial impementation of XEP-0332 (SMACK-552) -
HTTP over XMPP transport.
Created extensions, providers and unit tests.
Two features are missing: jingle and sipub.
Merge pull request #3 from Tsyko/xep-0332

Initial implementation of "HTTP over XMPP transport" (XEP-0332)
Move file related methods to FileUtils
Renamed DefaultRosterStore to DirectoryRosterStore
Make DirectoryRosterStore use elements for whitespace content

If whitespace (e.g. \n \t) needs to be preserved, then XML elements
should be used instead of attributes. Since we do this now in
DirectoryRosterStore, there is also no longer a need for an
specialized StringUtils.escapeForXML().

Also introduce XmlStringBuilder, which should become the default way
to implement Packet.toXML() and the like.
Always lookup DNS SRV RR on connect()