Add export_env_dir function and tests
test export_env_dir without dir
Return null : command from export_env_dir to be compatible with set -e
Merge pull request #9 from heroku/envdir

Add export_env_dir function and tests