Fix enormous unseenCount values in 64-bit builds.

You can't just pass a 64-bit slot as a 32-bit out parameter and expect
it to work.
Move libetpan to pick up gm-msgid change and lots of warnings fixed.
Use libetpan's xgmmsgid extension for parsing X-GM-MSGID responses,
rather than our own code.