WiP: Added apiserver endpoint for reboot

This is the second pull request for the reboot implementation. Please note that this is still a Work in Progress and a followup commit will be done for cleanup.

This branch depends on: https://github.com/juju/juju/pull/707
Again, and this is nobodies fault, I _think_ this one should be common.ServerError(err). Why ? because reasons.