Enable searching anywhere in branch name

This is in contrast to just at the beginning
Enable searches on the commit page

This could be resolved by redirecting to the tree search results page
instead, which might be a better approach.