code: function resolved(val) {
      var ret = new Promise();
      when(val).chain(ret.callback, ret.errback);
      return ret.promise();
  }
docs: Creates a new {@link comb.Promise} that is resolved with the given value.
  
  ```
  comb.resolved(1).chain(function(val){
  //val === 1
  });
  ```
  
  If you give it a promise it will wait for the promise to resolve or error.
  
  ```
  comb.resolved(new comb.Promise().callback(1)).chain(function(val){
  //val === 1
  });
  ```
  
  @param val - val to resolve with
  @returns {comb.Promise} a promisfied version of the value.
  @memberOf comb
  @static