[issue3992] set/get use cases for 'env' and new 'set_env' magic

proposed fix for https://github.com/ipython/ipython/issues/3992
We do ask people to configure their editor not to do that, because it results in big unwieldy diffs and can cause conflict with other PRs. Sorry if that's inconvenient.