XMPPCapabilities should update c element if present

Presence stanzas sent by XMPPStream's resendMyPresence may already
contain a c element. If a c element is present in the presence stanza
XMPPCapabilities should replace it rather than add an additional c
element.
XMPPvCardAvatarModule should update x element if present
Fix DDList removeAll: not moving to the next node after removing the first.

Also includes a test in TestDDList that will crash with "malloc: *** error for
object 0x123456: pointer being freed was not allocated".
Remove uses of NEEDS_DISPATCH_RETAIN_RELEASE. Use OS_OBJECT_USE_OBJC.

According to os/object.h the macro OS_OBJECT_USE_OBJC can be used to determine
if the compilation target supports libSystem objects be used as Obj-C types.
Remove all uses of dispatch_get_current_queue, except for logging.

All uses of dispatch_get_current_queue (deprecated since iOS 6.0) are removed,
and replaced by assigning a static queue tag, which is checked for its value.
Inside the queue, the specific will return itself, while outside the queue it
will return NULL, which will make the check fail.

Only two instances of dispatch_get_current_queue remain, both have been
surrounded by pragmas to disable the warning by the Clang compiler.
- DDLog.m: obtaining the current queue label.
- DelegateTesters.m: obtaining the current queue label for NSLog.
Fix node creation when using options dictionary

1. Create node should precede configure node instead of following it
2. The values in the options dictionary should be the option values, and the keys the field names, instead of reversed
Fix array-bounds crash in XMPPPubSub when parsing ping-response IQs

Crash occurs when id has only one component, and count is 0

Example:
<iq xmlns="jabber:client" id="3FA360E2-EB57-4F71-A645-183C53555773" type="result"></iq>
Fix "no visible @interface…" error in XEP-0224

Fixes #93
Merge pull request #137 from drodriguez/fix-ddlist-removeall

Fix DDList removeAll: not moving to the next node after removing the first.
Merge pull request #139 from drodriguez/bye-bye-needs-dispatch-retain-release

Remove uses of NEEDS_DISPATCH_RETAIN_RELEASE. Use OS_OBJECT_USE_OBJC.
Merge pull request #143 from noa--/pullreq1

Fix node creation when using options dictionary
Merge pull request #152 from noa--/pullreq8

Fix "no visible @interface…" error in XEP-0224
Merge pull request #147 from noa--/pullreq5

Fix array-bounds crash in XMPPPubSub when parsing ping-response IQs
Updating xcode project
Merge branch 'master' of github.com:robbiehanson/XMPPFramework
Merging latest changes from CocoaAsyncSocket project
Merging latest changes from CocoaLumberjack project
Merge branch 'remove-get-current-queue' of https://github.com/drodriguez/XMPPFramework into drodriguez-remove-get-current-queue

Resolved Conflicts:
	Utilities/XMPPIDTracker.m
	Vendor/CocoaAsyncSocket/GCDAsyncSocket.h
	Vendor/CocoaAsyncSocket/GCDAsyncSocket.m
	Vendor/CocoaLumberjack/DDAbstractDatabaseLogger.m
	Vendor/CocoaLumberjack/DDFileLogger.m
	Vendor/CocoaLumberjack/DDLog.m
	Vendor/CocoaLumberjack/DDTTYLogger.m
Converting queueTags from 'char *' to 'void *', and removing unneeded comparisons
Adding all files to Xcode project in order to test for warnings throughout framework