fix(typehead): reset matches to hide popover

This would close issues #632 and #652 . 

The difference between this PR and PR #658 is that this will not blur the element at all. Uses a strategy similar to ui-bootstrap's typeaheads - clears all matches on select, which has the side effect of hiding the whole typeahead until matches is repopulated.