Add optimizely partial & env var support

Supports opengovernment/ops#59