Add root access handling

* if bucket is uninstalled, we need to be root to install requirements.
* if bucket is installed, we don't need to be root, even if the framework
  isn't installed yet.