Allow user to submit search query with enter/return button.

- Abstract redirect to new function.
- Call redirect function on button click.
- Call redirect function on enter keystroke.
- Closes #30.