[Fixes #24] promise.done should return the promise, not undefined
Bumped version number to 1.0.7.