Add support for mouse-driven searches
Add support for mouse-driven searches

By restricting our event bindings to only keyup, the search doesn't work if someone right-clicks and pastes a value into the input. This supports paste and cut instantly. If the user chooses 'delete' then they must leave the input box as there is no delete event and change only registers on loss of focus.

Correct development code, check lastQuery !== query

Change event listeners to input and propertychange

This registers input value immediately instead of having to move to bottom of stack

No longer need to check for double event fire

Remove initialization of lastQuery var

algolia/instant-search-demo,algolia/examples,algolia/instant-search-demo,algolia/instant-search-demo,algolia/examples,algolia/examples