refactore database access in qml
Merge branch 'master' of github.com:kelvan/sailtoVienna

Conflicts:
	qml/silica/Result.qml