Adapted admin for new StateTransitionMachine

* Removed as well all the AbstractEntity dependencies
* Added specific interfaces casting