added methods to implement sql related interfaces.

Version.Scan -> database/sql.Scanner
Version.Value -> database/sql/driver.Valuer
Add sql Value test
fixed Vale.Scan to properly initialise v after call to Parse