[Bug 825538] [email/activesync] Need to allocate unique device ID's for multi-device access to ActiveSync.

Track observed device ids and be able to report them.

Some apparent sanity-checking logic I added in the past but never got around to
releasing.
Granted, that wouldn't preserve the order, which you might want...