Better .done() handling for pormises
Merge pull request #26 from sebastian-software/fix/promises-done

Better .done() handling for promises