[commhistory-tool] Add import-json command

The JSON format is editable and simple, allowing easy import of
customized data. Export support can be added as well for convenience.

Unlike the binary import/export format, no attempt is made to preserve
IDs or other specific details, in favor of simplicity and editability.
[commhistory-tool] Add -groups and -calls options for deleteall

deleteall also now deletes via models first, so that running processes
will be updated.
Merge pull request #14 from special/master

Add commhistory-tool JSON import
[libcommhistory] Use QtContacts API for contacts updates if configured

To select the QtContacts API for updates/retrievals, alter the DEFINES in:
    common-vars.pri
[libcommhistory] Allow qtcontacts backend to perform phone number normalization