Autocomplete branches in search. Implements feature requested in issue #223.