Add string decoding support and tests to xblock.mixin.DateTuple