add a wrapper around env.get for required env

closes #2
Merge branch 'required' (v0.3.0)