Following the discovery of structural issues as part of routine work, the main building of St Peter's Junior School in Ruddington has been permanently closed.