Move autowrappers code into rez.cli.env.  This commit also contains many FIXMEs pertaining to simplifying the config / env code so that new shells can be added.