Fix double stacktrace linking

If you pressed Enter in the repo field, onSubmit() would be called
twice: Once from the registered key listener, and once from the submit
button (because it’s a form). This is of course disastrous for rate
limiting, performance, etc.
Update signature of linkStacktrace function

to allow async search later (see #3).