XEP-0012 Last Activity implementation

Implementation of IQ stanza helpers to create queries and extract data from responses according to XEP-0012 Last Activity extension (http://xmpp.org/extensions/xep-0012.html).

Implementation of an XMPP Module to facilitate sending queries and receiving responses, and also to answer queries directed to the user. Delegate methods provide means to obtain the responses to the queries that have been sent, and also allows the consumer to modify the seconds attribute of outgoing IQ results according to whatever the UI consider as “away”.

Also include are a GHUnit/OCMock testing project for both platforms. The XEP-0012 module and helpers are pretty well tested in those projects (the tests are shared between both platforms).

I plan to move the *ad hoc* test projects and move them to the test projects when I have some time (and if nobody opposes).

Hope you find it useful.