Avoid warnings about empty arrays passed to min().
Allow the polices object to take null for the encoder.
Silly me, need to merge the lower version arrays too.
Add missing constants.
Don't assume _bodyPrefs contains any data.
Abstract out Horde_ActiveSync_Collections

Keep the sync code a bit cleaner by moving all of the collection
related logic out to it's own object.