[gh-806] Implement hook_og_membership_insert/hook_og_membership_delete...

with direct database queries because of a bug where user_multiple_role_edit
(which calls user_save) is rolled back: https://drupal.org/node/1391474