Call saveUndoState when inspector block selector is changed. (mark document as dirty) Fixes #257
Merge branch 'upstream-257' of github.com:pierrepaullavoie/CocosBuilder into upstream-257