Setting namespace and canonical_namespace for the domain together and doing the same for the application
Merge pull request #1335 from abhgupta/abhgupta-dev

Setting namespace and canonical_namespace for the domain together