Option to use sudo in cases where remote root access is prohibited

Adds an environment variable checker for RS_USE_SUDO which if is set yes|true will wrap all SSH commands sent to shell() with sudo, and rcp() to copy to stage dir which then is manually sudo copied to proper location.