[nemo-qml-plugin-contacts] Remove duplicated sorting code
[nemo-qml-plugin-contacts] Keep the cache populated if a model is registered

Otherwise, only maintain contacts which have been explicitly added to
the cache.