Add an api call to power cycle a node.

I tested this manually (in addition to fixing the unit tests), but we'll want to add some deployment tests at some point.