Update Engine.as

As noted here http://dev.playvue.com/2013/07/using-root-instead-of-stage-in-flashpunk-haxepunk/ with the original workaround by CaffeineViking. I merely cleaned up his solution to preserve existing games using FlashPunk and to handle non-social site submissions.