Add support for capabilities/multiCapabilities
Alter the isPromise to isLikePromise, fixes

Use isLikePromise() to support other Promise libs as isPromise only checks for a Q-promise
Update hosted.js

Allow promises on each config key
formatting fixes
formatting update
Merge pull request #1 from Personalife/master

Add support for capabilities/multiCapabilities