add support for dateadd in typechecker
minor fixes for date functions and copy from syntax

add some hacks for date functions in mssql
extend the copy from syntax support