Add extension hooks

Add updateCMSFields hook to allow extensions to modify cmsfields
Add Thumbnailhook to allow extensions to return custom thumbnail