[common] cleanup avl and related code
[common] remove unused functions

 - seaf_repo_manager_get_repo_prefix
 - seaf_repo_manager_repo_exists_prefix
Merge branch 'cleanup_avl' into 3.1
Clean up repo hash table code.
Remove some code with copyright problems.
Remove bitfield code.