[WIP] STONITH support

Submitting the pull request so that people can start the review. It seems to be working okay with the libvirt plugin.