Add beziercurves to envelopes

This pull request is about adding support for 2d bezier curves to the envelopes.These are also used in common 3d animation tools. (You may also know them from vector programs like inkscape). They allow to move quads on curved paths in contrast to the current curvetypes.

(It won't break compatibility with old maps)