Replaced CategoryMoveRobot class with a rewrite.

The new code is better readable, has more documentation
and does not use the Category.copyAndKeep function anymore,
that is only used by category.py. It supports now a history
table printing function like in compat. The code is fully
backwards compatible.

Fixed -hist option. If used print a history table.

Change-Id: Ib77b9c80e22b84e91e53e2536e9bee7f11f6952e
Merge "Replaced CategoryMoveRobot class with a rewrite."