Using Service management client to do publish etc.

Updated CloudServiceClient to use new sm library.