[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
[libcommhistory] Ensure contacts order is preserved

Return contacts to match the order found by tracker, rather than the
order in which they're returned by QContactsManager.
[libcommhistory] Compare phone numbers in minimized form
[libcommhistory] Filter out relationships from contacts query

Relationships are very expensive and are unused.
[libcommhistory] Remove conditional compilation of QtContacts code

Sparql-based version is no longer provided.
[libcommhistory] Cache resolved contacts within a query

The models tend to resolve numerous events for a small set of contacts
within the scope of an executed query.
Merge pull request #15 from matthewvogt/qtcontacts-api

[libcommhistory] Use QtContacts API for contacts updates if configured
[libcommhistory] Remove dependency on libqtcontacts-tracker-extensions
[libcommhistory] Use a less predictable phone number for tests to avoid collisions

The last 7 digits as "1234567" can conflict with other fake contacts and
result in unexpected test failures.
Merge pull request #16 from special/remove-qtcontacts-extensions

Remove dependency on libqtcontacts-tracker-extensions
[libcommhistory] Remove uses of a non-existent internal signal

This was leftover from the removal of libqtcontacts-tracker-extensions.
When we have contact settings later, we'll be able to use a smarter
method of reacting to changes (than just reloading everything).
Merge pull request #17 from special/master

Remove uses of a non-existent internal signal
[libcommhistory] Build with Qt5 and QtQuick2

This is currently experimental and unfinished, pending work on a
QtContacts backend and the telepathy detail integration with it.

Several examples and an unused test were also deleted; these served no
actual purpose in modern libcommhistory.
[libcommhistory] Remove CONFIG+=ordered to improve build time
[libcommhistory] Change paths and names for qt5 for coinstallable libraries

The qt4 library is mostly unchanged, except that includes move from
/usr/include/ to /usr/include/commhistory/ (under which is the
CommHistory folder) to avoid collision with the Qt5 includes.

This may cause build problems for applications not using the pkgconfig
file properly.
[libcommhistory] Require libqtsparql-tracker{,-direct} in packaging

The QtSparql tracker plugins are required for any use of libcommhistory.