Tidy up of unused references and opened up TestCommon for external use
Initial cut of automated master page change detection