Add query to input history if -noprompt
Add query to input history if -noprompt

When we skip the prompt, we also skip input(). Thus, we need to manually add the
query to the input history in those cases.

Fixes #161

mhinz/vim-grepper