add support for cmake-xcode build
fix a typo
fixed set_repo_property rpc call
apply several fixes including rename operation fix

rename operation returns a 301 which causes a mistake in some platforms

QString::right returns a substring n rightmost characters of the string, not the
substring starting from n.

don't use objects after calling deleteLater, which is kind of dangerouse (and causing
segment fault easily)
Merge pull request #305 from haiwen/fix-set-repo-property-rpc

fixed set_repo_property rpc call
update version to 4.0.1
Merge pull request #303 from haiwen/feature-xcode

add support for cmake-xcode build
Merge pull request #306 from haiwen/fix-rename-operation

apply several fixes including rename operation fix
don't force a refresh after successful upload or update request
implement the missing oid part
expire the dirent_cache after successful upload/update request