Add a `hard` option to halt and restart

Closes #25.
Merge pull request #27 from blom/patch-9

Add a power option to halt and restart