Always pass datum on typeahead events

This partially solve #114, for the typeahead part... The code on both event (selected and autocompleted) was nearly the same.  So my suggestion is to merge both.