Motion identifier setting and versioning.

Now the view decides, whether to setup a new version or not. Automatic identifier setting is the default. Also some fixes of the motion save method.
Merge pull request #638 from normanjaeckel/MotionRework

Motion identifier setting and versioning.