Hugh Lyon Playfair — Scottish soldier and Provost of St Andrews (1787–1861)