We may think of castles as just military fortifications. But they were besieged rarely. So what were these grand buildings used for the rest of the time?