[qtcontacts-sqlite] Convert sub-types back to defined values on read

SubTypes are stored as text, but need to be converted back to the
appropriate integer values on extraction.
[qtcontacts-sqlite] Add context values for 'Large' and 'Default'

Used by contactsd to distinguish avatar types.
Merge pull request #22 from matthewvogt/subtypes

Fixes for issues affecting contactsd
[qtcontacts-sqlite] Minimize reported changes
Merge pull request #23 from matthewvogt/minimize

[qtcontacts-sqlite] Minimize reported changes
[qtcontacts-sqlite] Provide hook to debug SQL expansion of filters

Define QTCONTACTS_SQLITE_DEBUG_FILTERS to a non-empty value to report
the SQL expansion of contact filters.
Merge pull request #25 from matthewvogt/debug

[qtcontacts-sqlite] Provide hook to debug SQL expansion of filters
[qtcontacts-sqlite] Add missing include
[qtcontacts-sqlite] Add conversion for other subType fields

Using qtpim, convert between text and integer forms on insertion
and extraction.
[qtcontacts-sqlite] Add conversion for OnlineAccount's protocol field

Using qtpim, convert between text and integer forms on insertion
and extraction.
[qtcontacts-sqlite] Create shared implementation of conversion functions
[qtcontacts-sqlite] Convert filter data when required

Data used as filter values may need conversion to string form to be
sensibly compared.
Merge pull request #24 from matthewvogt/subtypes

Correctly convert between integer and string representations with qtpim
[qtcontacts-sqlite] Fix linkage error

The online account protocol conversion function was not found, due to
incorrect parameter specification.
Merge pull request #26 from matthewvogt/link-fix

[qtcontacts-sqlite] Fix linkage error
[qtcontacts-sqlite] Regenerate aggregates on relationship changes

Changes to Aggregates relationships imply that the contact of affected
aggregate contacts should be re-determined.
Merge pull request #27 from matthewvogt/was-local

[qtcontacts-sqlite] Regenerate aggregates on relationship changes
[qtcontacts-sqlite] Workaround invalid comparison of details

Detail values of type QList<int> are not comparing correctly when
compared in QVariant form.
Merge pull request #28 from matthewvogt/delta-fix

[qtcontacts-sqlite] Workaround invalid comparison of details
[qtcontacts-sqlite] Fix qt4 breakage