Add metric name typeahead hints to the sensor input.

Note that this commit requires patching bootstrap Typeahead to support
showing the typeahead when no text has been entered yet.