James Edmonstone — Scottish army officer and agriculturalist