CMS-1786 Convert contentType_get to use value objects
Added a small start of ts-class for ContentType.