CMS-1951 New ContentForm PoC
Cleaned up code for registration and creation of input types.
Rather fail with error than log when something that should not happen, happens.