[contactsd] Simplify avatar processing

We only need to store one avatar per contact, preferably the large
variant.  Also modify the stored path to match that produced by
libsocialcache so that we will not duplicate identical avatars.