Fix incorrect broadcast behaviour

There was a special in which broadcast were not restarted correctly:
- One sprite contains identical string representations of scripts. In the case of TicTacToe these were nested IfLogic-Actions --> e.g "Sequence(IfLogic)#upper left", which was 5 times in there and led to confusion on which actions to restart
The simple solution is to add a script counter and change the string representation to e.g. "Sequence(IfLogic)#upper left0", "Sequence(IfLogic)#upper left1" etc. and also to lookup scripts instead of sprites.

Furthermore, I've added another regression test for that as well as a file logging method, which was extremely useful to identify the incorrectly restarted actions (too much output for the console or logcat).

Jenkins testrun:
https://jenkins.catrob.at/view/All-Categories/view/Catroid-multi-job/job/Catroid-Multi-Job-Custom-Branch/2031/
Checkystyle error is fixed.
Actually, this method was extremely useful for me to find this bug. I logged the actions that are restarted into a file - one time with the current master, and one time with a commit before the broadcast merge and compared those files (too much output for the console).

I've removed the log call in the BroadcastHandler because it's not needed there anymore (and it slows down execution). As said, I left the method because I found it really useful, but I can also delete it.