pyramid/basis and polygon tools: cancel switch point move mode if needed

git-svn-id: http://dev.geogebra.org/svn/trunk/geogebra@38004 23ce0884-8a58-47d3-bc5c-ddf1cd5b9f9e
Ticket #4798: better fix for the toolbar problem in the Desktop case (allowing custom toolbar)

git-svn-id: http://dev.geogebra.org/svn/trunk/geogebra@38005 23ce0884-8a58-47d3-bc5c-ddf1cd5b9f9e
pyramid/prism: avoid bad selection of polygon when click first point

git-svn-id: http://dev.geogebra.org/svn/trunk/geogebra@38006 23ce0884-8a58-47d3-bc5c-ddf1cd5b9f9e
Ticket #4798: part of my changes that should probably done anyway in Web, although they did not help in themselves

git-svn-id: http://dev.geogebra.org/svn/trunk/geogebra@38008 23ce0884-8a58-47d3-bc5c-ddf1cd5b9f9e