Added CheckHostedServiceNameAvailability method, fixed minor bugs

Added CheckHostedServiceNameAvailability method to vmClient.go
Fixed few minor bugs.