Add some sql.Scanner interface implementations
Rejig interface to allow direct access to Hash

Also fix LedgerIndex JSON handling
Painful but necessary...