fix(typeahead): support IE8

Typeahead does not work on IE8.  This PR amends the typeahead-popup and typeahead-match HTML to use attributes rather than custom elements and 'fixes' the issue for IE8.

For typeahead to work in IE8, a String.prototype.trim shim is also needed which can be added separately using the es5-shim library or similar.