Fix bug 2079

Additional option was added to search form.
If "Exact Match" option is checked we search in Exact Match Mode.

There are two search types:

  * normal search: uses indexer if available, falls back to DB search if
    not available
  * exact search: uses DB search (case-sensitive query: LIKE "%TEXT%")
Small refactoring
Improved readability
Removed unnecessary assignment
No comma after the last object member