Add context/provided context handling for Rules actions

See also: https://www.drupal.org/node/2245045