fix xsd:dateTime which was totally broken

Hi - could you merge this? The existing datetime implementation did not work at all.
Added tests for it too...