use doc presence as reboot marker

* The presence of a reboot doc for a machine sets the need to reboot to true
Added RebootActionGetter
Merge branch 'reboot-state' of github.com:gabriel-samfira/juju into reboot-state