Fix title autocompletion

Previously the autocompletion wasn't working at all and the
completion itself would only have put the title of a match
into the search field.

This change (besides fixing the completion itself) redirects
the user directly to the selected snippet.
Merge pull request #8 from zerok/feature/autocompletion-redirect

Fix title autocompletion