Modify core skylight controller to trim trailing dot (root DNS) from hos...

Modify core skylight controller to trim trailing dot (root DNS) from hostname, which breaks config if present (it would be looking for eg. mycollection.com..php, instead of mycollection.com.php)