<cron cart> Load env. vars. recursively

cron_runjobs.sh: Recursively load environment-variable directories,
as oo-trap-user does.

In particular, we want cronjobs that run on one gear of a scalable
application to load the environment variables of all cartridges, which
may be in subdirectories of ~/.env/.

This commit fixes bug 1069321.
Team object, team membership

Implement Team.run_jobs

Add type info to member propagation jobs

Explicitly set member type

Remove STI for members

Expect member key

Test membership filtering by Team and CloudUser

Make remove_members work the same as add_members, default members to user members

Make role_for work with teams

Handle type being nil in the datastore for user members

Add test to distinguish type in member operations

Typo

Move pending op

Propagate team changes, expand team members into domain and apps

Add team propagation tests

Initial work to propagate grants

Use mongoid methods

Stop tracking grants

Add test for has_membership_changes? when changing grants without changing calculated roles

Make pending op args more backwards compatible

Update pending op args

Add back role_changed? to has_member_changes? check

Clone submembers when expanding teams, don't propagate teams from domains to applications

Don't propagate teams from domains to apps

Test propagation on team destroy

Ensure we remove team grants from all members when removing a team

Make app member change op work correctly with new pending_op param format

Add escalation/de-escalation tests, fix issue demoting roles from an existing source

Test merging duplicate grant sources

Make teams unique per owner

Make teams accessible if they are a peer member of a domain

Index members by id and type

Change default role on teams to :view
Code review comments
Handle duplicate removes, removal of non-members
Test explicit/implicit role interaction
Validate roles
Improve finding a member in a members collection
frontend logging: keep openshift_log (bug 1069837)

https://bugzilla.redhat.com/show_bug.cgi?id=1069837
  -DOpenShiftFrontendSyslogEnabled disables openshift_log entries

When the -DOpenShiftFrontendSyslogEnabled cmdline option is added to the
node host httpd in order to direct gear logs to syslog, it stops writing
openshift_log entries. This is what the idler uses to assess whether a
gear is inactive or not, so it should keep writing this log.
Merge pull request #4813 from Miciah/bug-1069321--cron-cart-load-env-vars-recursively

Merged by openshift-bot
Merge pull request #4584 from liggitt/teams

Merged by openshift-bot
Merge pull request #4820 from sosiouxme/frontend-logging

Merged by openshift-bot