add create directory support

This `found_conflict` logic is much similar to https://github.com/haiwen/seafile-client/blob/master/src/filebrowser/file-browser-dialog.cpp#L403 , why not extract out the common code? It can be a member function of `FileTableModel`.