Insert new feature: attachments for motions.

Fixed #522. Database struture changed.
Merge pull request #908 from normanjaeckel/MotionAttachment

Insert new feature: attachments for motions.