[qtcontacts-sqlite] Build with either qt4 or qt5

Also switch to using sqlite backend for all tests, and remove some
irrelevant testing code.

Note: not ready for merge yet.