Added mode parameter to WEEK

I've added the mode parameter to the WEEK mysql function

http://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html#function_week