Reset usingTLS in XMPPTCPConnection.shutdown()
Add parseContentDepthTest()
Use StringBuilder in parseContentDepth()

instead of StringBuffer, which comes with unnecessary synchronization
overhead.
Fix description of subprojects POMs file

by adding evaluationDependsOnChildren() on the root project. Thanks to
Peter Niederwieser for the hint.
Make ProviderManager static

also remove initialize() from ProviderFileLoader, by simply putting the
code into the constructor.
Tell Gradle to download javadoc

when creating the classpath for eclipse.
Make IQ attributes final in parseIQ()
Add 'null' check to parseContentDepth

Does not fix the actual problem, but at least prevents resource
allocation until OOM.
Update Presence.java

No code changes. Proofread API docs for Presence.java
Fixed grammar / unclear sentences in some javadocs.
Changed some nouns to be more consistent with API terminology.
Fixed some typos.
Reworked OSGi support of Smack (SMACK-343)

Because of OSGi, no subproject of Smack (which is the same as a OSGi
bundle) must export a package that is already exported by another
subproject.

Therefore it was necessary to move the TCP and BOSH code into their own
packages: org.jivesoftware.smack.(tcp|bosh).

OSGi classloader restrictions also made it necessary to create a
Declarative Service for smack-extensions, smack-experimental and
smack-lagacy (i.e. smack subprojects which should be initialized), in
order to initialize them accordingly, as smack-core is, when used in a
OSGi environment, unable to load and initialize classes from other smack
bundles. OSGi's "Service Component Runtime" (SCR) will now take care of
running the initialization code of the particular Smack bundle by
activating its Declarative Service.

That is also the reason why most initialization related method now have an
additional classloader argument.

Note that due the refactoring, some ugly changes in XMPPTCPConnection
and its PacketReader and PacketWriter where necessary.# Please enter the
commit message for your changes. Lines starting