This also cleans up some code a little bit. Most of the gymnastics are to make sure we call needProjectPHIDs() appropriately.
- Restricted Diffusion Commit
rPefe187d5beb3: Support "Repository's projects" field in Commit and Differential Revision rules
Created new commit and revision rules with this field. Ran commits and revisions through the test console. Field behavior seemed correct.