Update selected entities when brush is resized or its vertices are
moved so that brush entities are updated.

Fix mouse input so that no drags are started when discarding the
context menu in the 3D view.
Merge some fixes from issue234_rotation, but keep the original
rotation handle.
Factor out the rotation handle.
Minor tweaks to rotation tool.