pass data to plugins via environment variables

Summary: Pass parameters to plugins via environment variables.

Reviewers: jacko

Reviewed By: jacko

Differential Revision: https://phabricator.buildinspace.com/D48