Only show URI completion when the prefix matches

This fixes questionable behavior when the user wrote code and presses enter to
hide the completion box, but that instead replaces his own code.

Fixed #107.
Merge pull request #115 from dragos/issue/uri-completion-prefix-107

Only show URI completion when the prefix matches