Log filtering based on branch names

Summary:
Add tests for the VCS branch changes

Log filtering based on branch names

Test Plan: make test-full

Reviewers: cramer

Reviewed By: cramer

Maniphest Tasks: T10537

Differential Revision: https://tails.corp.dropbox.com/D62442