Sanity check of positions
Sanity check of positions

Summary: In particular, we check that required parent positions are present, and do not form a cycle.

Reviewed By: agampe

Differential Revision: D28167469

fbshipit-source-id: 6fb1d6d1191ec7ddd5580d294ed609b17c9cb444

facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex