Add support for tolerance table with #to_dcm

Previously the tolerance table were ignored when converting to DICOM.

After this change, a tolerance table sequence is created, containing a
tolerance table number attribute, if the rtp record contains a field
with a tolerance table number.