Refactoring of code generation for async

-Reuse asyncMap from apiary for the other providers
Merge pull request #272 from ovatsus/AsyncRefactor

Refactoring of code generation for async