use Ext.each and initialize the vars before use for ie8
Merge branch 'develop' into ian_ketcher_changes
firefox actually needs the unescape (before lunch it didn't, after lunch it does?)
Merge branch 'develop' into ian_ketcher_changes

Conflicts:
	public/app/view/Viewport.js
uri encode the molfile and pass to the iframe which holds the ketcher js
Merge remote-tracking branch 'origin/develop' into develop

Conflicts:
	public/app/view/Viewport.js
Merge branch 'ian_ketcher_changes' into develop
IE7/8 fixes - initialize some js vars
Pass molfile to ketcher iframe as encoded param