Clear filtered flag when loading all suggestions.

Fix incorrect references to "this" when "self" is required.
Tidy up JSDoc and a couple of comments.
Refactor to consolidate suggestion display code.

Removes duplication of code so that a single routine is responsible for
displaying the suggestion list and/or bootstrapping suggestion HTML
elements as necessary.
Capture typing on tags, suggestions and buttons.

Captures characters typed by a user when focus is on a tag, an item in
the suggestion list or the drop-down arrow, and passes the input to the
main input field or filter, depending on mode of operation. The
suggestion list is automatically refreshed as a result.
Merge pull request #33 from benbasson/capture-typing

Capture typing