added methods to implement sql related interfaces.

Version.Scan -> database/sql.Scanner
Version.Value -> database/sql/driver.Valuer