fix warnings found by clang

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
db: avoid foo matching foobar

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
window: no result window when no result

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
keyword: mark non-sensitive entry as such

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
item: introduce equals

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
more cleanup

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
db: more error handling

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
constify stuff

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
rework edit

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
item: cleanup

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
check for leveldb in configure

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>