Fixed issue with forwarding undo/redo, where undo/redo where logged in
history; i.e. undos where put on the undo stack.
This was solved by replacing usage of PendingCommandFactory with usage
of TranscribeOnlyCommandStateFactory.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>