Add force option to reboot/shutdown command

Adds -f and -h flags to reboot and shutdown.

-f 1 will force hung apps to close down
-f 2 will try harder and ignore warnings such as 'Other users are logged onto this machine'