Call saveUndoState when inspector block selector is changed. (mark document as dirty)
Merge pull request #260 from pierrepaullavoie/upstream-257

Call saveUndoState when inspector block selector is changed.
Merge branch 'master' of github.com:cocos2d/CocosBuilder