Fixes bug 849897 - Fixed backward compatibility in search modes.
Merge pull request #318 from AdrianGaudebert/849897-plugin-query-type-compat

Fixes bug 849897 - Fixed backward compatibility in search modes.
fixes bug 797400 - placeholder for q input