Add a COALESCE UDF

Like in T-SQL:

http://msdn.microsoft.com/en-us/library/ms190349.aspx