Make sure copy actions are disabled when database is locked.

Closes #189
Remove dependency to Group- and EntryView from MainWindow.
Add option to use the entry title for auto-type window matching.
Enable entry title matching but always ask before performing auto-type.
Coding style fix.
Remove obsolete method in EntryView.
Show in-edit-mode warning when database is locked.
const-ify several methods.
Fix typo canDeleteCurrentGoup() -> canDeleteCurrentGroup().
Move search into separate class.
Refactor TestEntrySearcher.
Move match method out of entry class.
Refactor TestEntrySearcher.
Extend TestEntrySearcher.
Move exporter to separate class.
Introduce interface for exporter.
Move QTEST_GUILESS_MAIN statements before test cases.
Put test executables into their default location.
Focus the search field instead of closing it when pressing the shortcut.

Closes #124
Stop search timer when closing search.