State machine dumper is in a tools/ subdir

With this patch it at least compiles, but it crashes immediately when I open a folder for saving the doc for the stickman example.