add ability to write environment properties

@pupssman I added that, because funny travis said, that I don't have anough coverage after addition

```
try:
    import cStringIO as StringIO
except ImportError:
    import StringIO
```

Seems, I can't coverage imports, so I coveraged ```StepContext``` instantiation (it wasn't coveraged too)