Overhauled the behavior of token-less autocompletion; updated demo apps for testing.

Closes #4, fixes #27, and fixes #33.

Also added the input element to the callback, which fixes #31.