rm 'has_subdir' check for accessible repos to fix a bug

fix bug for repo with no dir initially
Merge pull request #81 from swpd/master

minor code cleanup
[sub-lib] redesigned it: redesign 'share', no sync ...
* no 'sub-libraries' at 'myhome'
* don't create event when create sub-lib
* no 'sync'
* 'syncable-share' --> 'private share', no second popup
[sub-lib] improved ui & fixed bug for private-share
merge 'create_sub_lib' into 'check_sub_repo'; improved file/dir share js code
Change hashcompat to hashlib to depress warning
Modified sub repo
Show file size on share link page, and fix file share bug in readonly library
Fixed brand css and sharing message
[profile] add button for deleting user profile