Next: varstash integration, tests refactoring, s/dotenv/autoenv/

Please review it.

I'm likely to amend/rebase it tomorrow anyway, but any feedback is appreciated!