added conversion from r.js Date object to and from ql::datum_t
added polyglot tests to test that r.time works with r.js