Added tools to create and modify bezier objects

The following things are still missing:
  * Icons for the toolbar
  * Shortcuts for the "create bezier*" tools
  * Translations
  * Export to formats other than JSON
Actually I see this check for the third time in the same function now, so maybe introduce a local variable like `isBezier`.