detect file infomation more accurately
[api] force use PercentEncoding for params in the api request
eliminate some static analyis warnings

** CID 73898:  Resource leak in object  (CTOR_DTOR_LEAK)
/src/filebrowser/data-cache.cpp: 24 in DirentsCache::DirentsCache()()

** CID 73903:  Uninitialized pointer field  (UNINIT_CTOR)
/src/filebrowser/data-cache.cpp: 57 in FileCacheDB::FileCacheDB()()

** CID 73898:  Resource leak in object  (CTOR_DTOR_LEAK)
/src/filebrowser/data-cache.cpp: 57 in FileCacheDB::FileCacheDB()()
[api] add HTTP PUT and HTTP DELETE support for ApiRequest

1. Separate the old setParam method to setUrlParam and setFormParam.

2. In the previous code, we call setParam in a HTTP GET request where
setUrlParam should be used and setParam in a HTTP POST request where
setFormParam should be. This patch corrects them all.

3. Introduce a more raw method setData which might be used soon.

4. Add HTTP PUT and HTTP DELETE request support
fix qmake build
Merge pull request #267 from haiwen/backport-7

fix qmake build
collaspe almost the same put and post method in api-client.h
Merge pull request #234 from Chilledheart/patch-6

some enhancements on SeafileApiRequest
add back file browser go home button
Add an extra parameter to clone or download a repo
improve code of read-only repo
Update version to 3.1.8.
add server_url param for clone/download repo rpc
add "enable http sync" settings
implement more file-related api requests
update "server_url" property for all repos http sync
Merge pull request #266 from Chilledheart/backport-5

implement more file-related api requests
add some actions for context menu
if cancelled, don't continue to do the rename task
rename RenameDirent* to RenameFolder* and trim the input of new_name