Fixes issues with publishing for HTML5. Now uses resolution scale and do not publish for mobile unless needed.
Merge pull request #3 from cocos2d/master

update