Use application PHIDs in Macro
Summary: Ref T2715. Move Macro to application PHIDs.
Test Plan: Used conduit.query to look up macros.
Reviewers: btrahan
Reviewed By: btrahan
CC: aran
Maniphest Tasks: T2715
Differential Revision: https://secure.phabricator.com/D6556