Added documentation and an example on extending the typeahead to change its template