Fix roster versioning

This fixes two things:
1) We reset the version we stored for the roster, even though it was
   still up to date
2) Since we make mutable copies of the items dictionary in
   XMPP_updateRosterItem our memory was rather high.
   Use a AutoreleasePool around it for now.