Added mouse drawing of polygons

- polygons can now be drawn with the mouse (previously they could only
    be added programmatically)
Update of documentation and added two sample plugins