os.manage function

Gives managing option to the current OS (shutdown, restart, sleep, hibernate, etc...)