Added generic AsyncResult to python binding. Copy recover_keys from dc2 into dc.