Added support for additional modules to integrate with OG.
- Issue #1616852 by pgillis,lynn: The implementation of hook_node_grants returning the wrong data structure. The hook must return an array of gids, not an array of arrays of gids.
- Issue #2075151 by pgillis: Calls clone_is_permitted($node->type) before we check permission so that we don't show link where it doesn't belong.
- Issue #2061439 by pgillis: Node Clone has some permissions I would like to manage through OG. Added node clone permissions to OG realm and implemented hook_TYPE_alter to check them.
- Issue #2061627 by pgillis: Node access too slow when current user is member of large number of groups. Now we only populate grants if we are in a group context and add grant for the current context.
- Issue #1991066 by pgillis: Add the ability to manage publishing permissions in og. Implements hook from revisioning module to check OG permissions and grant access as appropriate.
- Issue #2009372 by shenzhuxi: Add permission for modifying authoring information.
- Issue #2020013 by shenzhuxi: Support Diff module for revisions.
- Issue #1991066 by shenzhuxi: Add the ability to manage publishing permissions in og.