Call autocomplete-ui's reponse callback from Algolia's callback to avoid outdated results

Hey there,

just a small patch ensuring that the ```response``` is not called with outdated results:
 - call it directly from Algolia's callback
 - check if the answer is the one expected checking the ```lastQuery``` attribute

Hope it helps :)

PS: don't know why my editor broke your indentation, sorry for that :/