Add UndoableCommandGroup class to ensure that command groups are closed.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>
Merge branch 'NewArchitecture' of github.com:kduske/TrenchBroom into NewArchitecture