Added typeahead:hintupdated event so the hinted selection can be used.

Tests to be updated.

Signed-off-by: stevegibbings <steve@stevegibbingsdesign.co.uk>