Fix to GetSiteUrl for root sites

- Fixed getSiteUrl to ensure that a valid URL is returned for root sties (see #27 for reference)
- Adjusted demos to enable debugging.