Clean up catroid projects

Remove unnecessary casts
Organize imports
Format code
Convert for into for-each loops
Merge pull request #817 from Catrobat/cleanUpProjects

Clean up catroid projects