Implemented support for VMAT in Plan#to_dcm

Previously only static photon teatment types were supported.

This update also means there has been a change in the way control points
are converted from RTP to DICOM, which also effects the way static
photon treatment type RTP files are converted.