code: function syncifyClassMethod(clazz, methodName) {
  
    var asyncMethod = clazz.prototype[methodName]
  
    clazz.prototype[methodName] = function() {
      // if last argument is a callback then run async
      if (arguments && (typeof(arguments[arguments.length-1]) === 'function') ) {
        asyncMethod.apply(this, arguments)
      } else { // sync call!
        return asyncMethod.sync.apply(this, arguments)
      }
    }
  
  }
docs: *************************************************************************************************
  @method syncifyClassMethod
  @description syncifyClassMethod
  @memberof carbon-client-node
  @param {object} clazz -- the class
  @param {string} methodName -- name of the method to syncify
  @returns {function} -- xxx