First round of changes to use communityUrl
Create and use common util function
Change to use property
Make property readonly
Readonly assignment.
Unify API
Make readonly
Merge pull request #583 from bhariharan/community_url

First round of changes to use communityUrl