Grenier, John Charles Samuel, active 1884-1887, Attorney-General of Ceylon