RelativeTime: incorrect value after XML serialization.

Sorry for the mess.
Lines that were changed in:
`common/lib/xmodule/xmodule/js/spec/time_spec.js` lines 6-11.
`common/lib/xmodule/xmodule/js/src/time.js` lines 15-17.

@auraz please review.