Fixed xcode warnings.
Resolved (self-warning) in KSPromise library.
Added parameter names to typedefs for nice autoexpansion in XCode.
Merge pull request #1 from jeffh/master

A few minor updates