add autocomplete to history
rename variable to allow autocomplete and filtering
Merge pull request #189 from guardian/ma-add-history-autocomplete

Add autocomplete to history