Update CreatePageTypeClasses.aspx.cs

Null check for EditCaption and HelpText.
Thanks Jöran Nordlund at Circuit