Merge pull request #241 from Catrobat/issue#221

Issue#221
Merge pull request #242 from Catrobat/issue#235

fixes #235
fixes #244, weak objects (except for SpriteObjects) are temporarly stored until they are needed
Merge branch 'parser-fix' into development