Migration of types controlpanel from plone.app.controlpanel to Products.CMFPlone

Moving types control panel to Products.CMFPlone and adding tests and robot tests to it.
I would slightly change that test to become a real end-to-end test. So far you are only testing that the form does not break when you submit it:

When I allow discussion for the 'Link' type
Then a new link will have discussion allowed