Added resolved and rejected factory methods to create already-resolved-or-rejected promises
Supported more complex nesting configuration for datasource
Added remove and valueOf methods
Utilized Deferred.resolved factory method
Fixed a little naming problem