Handle Date.parse returning null or NaN

This is required for compatability with the Datejs library

fixes mde/timezone-js#100