refs #9257. Working clusterregister.

ClusterRegister fixed. Test cases work (unit) as well as the test scripts
that I have marked as broken previously.
refs #9257. Tidy up and add memory check.