[scripts] import sqls instead of syncdb
[common] cleanup avl and related code
[common] remove unused functions

 - seaf_repo_manager_get_repo_prefix
 - seaf_repo_manager_repo_exists_prefix
[build] fix bus error while execute make -jN (N>1)
Check openssl in configure.ac and enable fuse option for mac
[client] Fix rename problem on Windows and Mac.

The case is that a file/dir's name changes in cases.
Merge branch 'cleanup_avl' into 3.1
Clean up repo hash table code.
Remove some code with copyright problems.
Remove bitfield code.
[scripts] add seaf-gc wrapper
Merge pull request #756 from Chilledheart/scripts_add_gc

[scripts] add seaf-gc wrapper
[server] List corrupted repos for admin and owner.
[server] Improve corrupt repo handling in GC. WIP.
[server] Don't return corrupted repos for owner.
update msi/deb version to 3.1.2
[scripts] add seaf-gc wrapper
Update Mac version to 3.1.2.
Don't include "index.h" in server code.
Add seaf-gc.sh to server package.