Bugfix: alarm check decrements first.
Fix for polygons with duplicate points; if the weight is 0 we no longer segfault.
Added preCreationCode

-Implemented preCreationCode in backend (compiler) and the engine. This
allows calling code before the create event is called. Now only used for
setting the transformations settings chosen in the room editor
(rotation, scale, color etc.).
Merge pull request #809 from enigma-dev/PreCreationCode

Added preCreationCode
Merge pull request #808 from sorlok/bad_polygons

Fix for bad polygons crashing the game.
Merge pull request #795 from sorlok/alarm_step

Bugfix: alarm check decrements first.