Alexander examines the the surprising history hidden behind the walls of the iconic royal residence, beginning in the late 18th century, when the building came into royal hands, up to the modern era when Elizabeth II made it her home