Comment out implications to role PublicProgramEditor

* It is undefined
Improve query strategy for context implications

* Before, it made one query per context implication; now it makes one
  query for all implied roles
Merge pull request #947 from reciprocity/feature/avoid-permission-query-duplication

Fix performance regression related to implied role lookups