Merge pull request #42 from miyuru/master

Automatic calculation of API context when deploying in tenants