Add an option to filter roots

Allow filtering roots as it can help CI systems wanting to evaluate
only tasks under roots they own for improved query performance.

Change-Id: I566744ab4a9633b4ac9c8b0bfa561009ba8e3996
6 files changed