Cleanup/getting rid of done in promise

Refactoring of 'done'/'donep' flags in Promise struct.