[nemo-qml-plugin-contacts] Improve avatar handling

A contact can have multiple avatars.  This change allows avatars
to be filtered based on image metadata (tag) and also on whether
the image is a local or remote file location.