various changes prompted by running pylint
add logging to backend superclass
refactor sql statements in sqlite to use logging
handle keywords being a set and raise TypeError if type is unknown
add create_index method to core
add test_index test
core: improve logging in create_index
add create_index(..) to tes_index(..)