Updating TurtleJS Sept. 4, 2014

Hello :)

Manually pulling your changes for turtlejs to save/restore state, I saw that accidentally broke the web app for normal web browsers, so I made a couple of modifications:

- I saw that you changed the app init cycle specifically for sugarizer, so it broke all the application on web browsers, what I made was to create a constant SUGAR_VER on taconstants.js (SUGAR_VER=true means that you want to enable the sugar-specific functionallity like save/restore state), for future pull requests... if you make something that is specifically for sugar compatible devices, please surround all the sugar-specific code on "if (SUGAR_VER){}" and set SUGAR_VER = true to test the changes , so it will not broke the app for web browsers of normal PCs :)

- If you didn't noticed it, theres another flag on taconstans.js ... MOBILE_VER , when you want to pack the HTML/CSS/JS into an APK, you can set MOBILE_VER=true, so you will enable TurtleJS UI to Mobile devices (like drag and drop the canvas instead of using scrolls)

I made these flags because I know turtlejs needs to run on different enviroments, with this, you can manually change the behavior of the app in order to run the app correctly for each different workspace (Sugarizer/Mobile/Desktop)

PD: please check these modifications in order to see that I didn't broke anything of your new code on sugarizer

PD: which issuie with flow blocks are you talking about? delay between open file and resize flow blocks??

Thanks for your help to make turtlejs even better :)
Have a nice day

Jorge Gomez