fixed the type extension

made the type extension an actual extension,
and added it to the GetColumnMetadata extension, so nullable types in
the database will now be nullable clr types as well