[qtcontacts-sqlite] Add status flag for online

A contact is considered online if it has any presence state that is
not offline or unknown.

Also ensure that qtcontacts-sqlite-qt5 installs headers to a
different location to qtcontacts-sqlite.