Deacon William Brodie was a respected member of Edinburgh Society but was executed at the age of 47 on gallows that he himself had earlier designed.