Fixed issues due to the assumption of api and app domain being the same
- Also moved framework/runtime tests to v1 only place
Merge pull request #28 from ramnivas/api-domain-vs-app-domain

Fixed issues due to the assumption of api and app domain being the same