The daughter of a Shakespearean hero and a Catholic saint, Matilda of Scotland lived a life at the heart of medieval politics.