Move code finding allocated nodes to a helper function
Add subcommand to reboot nodes

Since rebooting node is required, having a helper to do that is nice.
Use die instead of "echo foo; exit 1"
Improve wording
Add a status subcommand, which is now the default