Update CmdClient.py

/lastseen was broken. calling onPresenceUpdated() called onMessageReceived() with only 6 parameters.
Updated user agent

Fixes #150 yowsup-cli fail to register
Fixes #144 registration fails with old version for new phone.
Fixes #133 New Token in warequest.py
Merge branch 'master' of https://github.com/tgalal/yowsup

Conflicts:
	src/Yowsup/Common/Http/warequest.py
	src/Yowsup/Common/constants.py
Fix retrieval of pictures on Python 2.x
Document the value for the group_getGroups argument

The only usage of this function I could find was added in commit 8812cc1
of wazzap, but that commit has never been merged. Add the only useful
information of that commit to Yowsup itself, for future reference.
Print "connecting to" message using the debugger

This allows clients to disable this message
Merge pull request #152 from oxan/misc-fixes

Miscellaneous fixes
Merge pull request #138 from jaigupta/patch-1

Update CmdClient.py
Updates to registration token

Updated registration token
Added ability to fetch new tokens from remote host
Cache fetched tokens if they work and use in future
Moved useragent and token declaration to constants
Added --ignorecached switch to yowsup-cli to ignore cached tokens
Fixed error on printing some currency codes
Updates to options

Removed --v1 switch
Removed dbus option until it's properly tested and documented
Merge branch 'master' of https://github.com/tgalal/yowsup
Removed all references to v1 from yowsup-cli
bumped version
Updated registration token
WAUTH-2 initial commit

Implemented WAUTH-2 mechanism (still not working though)
Added new Token dictionaries
Login now working

But still some internal reading troubles
Merge pull request #226 from CODeRUS/wauth2

Login now working
Reading incoming data now working

Fixed decoding message
Updated outgoing message type to text
Send is still not working (encoding problem?)
Updated reg token, bumped to 0.82