allow a much simpler template

rather than requiring the entire wrapper and ng-repeat in the template
just pass in a template for displaying a single item.
set all children of the main control to inherit their width.
hide the autocomplete results when the control loses focus
inherit width from a class set on the ng-autocomplete directive.