Split Tool into two classes: Tool and ToolAdapter.
Minor fixes.
Adapt RotateObjectsTool and MoveObjectsTool to new tool base classes.