bug fix - the inital state of a promise should be pending
use this.when instead of this.promiseProvider.when
Merge pull request #61 from dabohealth/bug/fix-the-promise-state

bug fix - the inital state of a promise should be pending