uploader: Fix dynamic form doesn't work in IE.

In IE, HTML form sholud be included in HTML body if its method is POST.
uploader: Fix a bug that upload fails in IE.

While send a response for a request for uploading, set Content-Type
header field of the response to text/html, to avoid to download the
response as a file.