[CHEF-3772] Use the sync(-s) option to get exit status.

http://tickets.opscode.com/browse/CHEF-3772

*  svcadm to wait and return errors back to the provider
*  switch method from run_command to shellout!

unit test is passed.