Add result filtering to project build search endpoint

Reviewers: cf, zorkian, cristina

Reviewed By: cristina

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