Proposal for QuickEdit to support adding types with spaces in their id

When you try really hard, you can create a working portal type (e.g. a PFG form field or adapter) with spaces in its id :-)

Unfortunately, those types cannot be added using PFG's QuickEdit-view (1.7.0), because it cuts the id from the first space and generates broken createObject-link.

Probably this could be also fixed in javascripts. This proposal fixes it by quoting type id in the same way that it's quoted in factory menu's link:

https://github.com/plone/plone.app.content/blob/master/plone/app/content/browser/folderfactories.py#L95