Dan Cruickshank charts the arrival of a new style of palace, as British monarchs demanded that architecture proclaim their right to rule.