[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