Added methods to implement sql related interfaces.

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

Closes #4
Closes #5