add initial support for upload directory
pass QByteArray for QHttpPart::setBody because it accepts QByteArray by default
show the uploaded dir correctly after uploading
Merge pull request #327 from haiwen/support_upload_by_directory

[RFC] Support upload by directory