Moved cluster configuration to an external file

This moves the cluster rewrite out of the main rewrite file, so that clustering is optional for each site.