Add soql functions listed in beta.dev.socrata.com/docs/datatypes/converting.html

Change all to_datatype to ::datatype.

Reviewed-by: robert.macomber@socrata.com