Revert "Move KUndo2Command into its own file and make it a QObject"
This reverts commit 789d8b64846818b6008c5ef828de3ef75d835cd2.