Db2 typed params

I've added a mapColumns operation which seems to work okay, but using it to map over ScalarFunctionColumns to achieve the casting of typed parameters could be relatively awkward if e.g. they were nested.

I found it wasn't so bad to do this by overriding functionSql for DB2 instead.