Move ContentType to separate file, provide enum to string and vice versa conversion

Change-Id: I84141fc790a7c6fe029f31a4aa31bf09e980c305