[libcontacts] Add API for name grouping.

Allow a customized name grouper to be set.
Merge pull request #9 from mbrasser-jolla/master

[libcontacts] Add API for name grouping.