Ensure that thenFinally callback is called even if task has already 
been resolved or rejected
Add test case for adding thenFinally after resolve or reject
Merge pull request #3 from erussell/master

Fix bug causing thenFinally callback to not be called