StateMachineViewer:
* Optimization (anonymous function)
* Remove save button
* Click on state to edit
Merge branch 'master' of https://github.com/Heigvd/Wegas

Conflicts:
  wegas-app/src/main/webapp/wegas-editor/js/widget/wegas-statemachineviewer.js
  Fix transition click