Quain, John Richard, Sir, active 1837-1870, Justice of QB