[api/filtering] Update filtering for a few endpoints (drafts, files). Add tests.

Summary:
[api/filtering] Update filtering for a few endpoints (drafts, files). Add tests.

Fixes T365

Test Plan: run regression

Reviewers: spang

Reviewed By: spang

Maniphest Tasks: T365

Differential Revision: https://review.inboxapp.com/D390