WebUI: Fix WebAPI returned data.
WebUI: Add charset attribute to text content types.
WebUI: Fix upload window closing on old browsers.
Merge pull request #2129 from glassez/webui

WebUI Fixes