catalogRef's, remoteCatalogService, and latest.xml for HTML writing

added an option to threddsConfig to set default behavior of remote catalogs in catalogRef elements in html writing; fixed latest.xml handling in remoteCatalogService for html writing.