Updated with latest mdata-client tools

This also updates the various scripts in /lib/smartdc and changes from using rc.local to a proper /etc/rc.d script (smartdc) to ensure scripts are run at boot.