refactored require_string check for input and kwquery
issue#77
Merge branch 'kwd-search-clean-no-autocompl' of ssh://github.com/vidma/DAS into kwd-search-clean-no-autocompl