Renamed .done to .then

To ensure extension datasource method could return a fake-Promise (with
`.then` method as Promise/A spec)