a bunch of improvements: - moved regex to extract branch from path to config.yml as branch_regex - added filtering by branch (two new models Branch and RevisionBranch for that) - added indexes where needed to speed-up filtering