Fix date functions

Fixed Date.parse() - This was returning a Date instead of a number.
Fixed Date.UTC() - This was assuming the incoming date was local time instead of UTC.

I've added two unit tests to ensure these are working.