Add support for Promise chaining. Allow BaseService to work even when
there is no Context available, in this case the Endpoint must be set
explicitly.
Merge pull request #536 from markewallace/PromiseChainAndBaseService

Add support for Promise chaining. Allow BaseService to work even when