Script to migrate nonlibrary environment artifacts

Migration script to

1) All systems moved to Library env
2) A system group will be made for each existing env
3) Systems will be added to appropriate system group
4) All users with a default system registration env will have that
changed to Library
5) All activation keys will be switched to Library
Merge pull request #2304 from parthaa/headpin-migrate

Script to migrate nonlibrary environment artifacts