Implements promise and RemoteModel methods.
@leplatrem review.
Refactoring with chained promise.
Merge pull request #4 from spiral-project/promise

Implements promise and RemoteModel methods.