Merge pull request #641 from yason/master

Add #ifdef to include correct headers on BSD systems
[python] Rename group repo related api
Improve object and block writting performance.
[scripts] show error detail when gunicorn failed to start
v3.0.4
[scripts] fixed creating admin account in seafile-admin
fastcgi: optional env var SEAFILE_FASTCGI_HOST for listen address
Merge pull request #654 from matejc/fastcgifix

fastcgi: use 0.0.0.0 instead of localhost
Merge branch '3.0'
Silence the annoying "subdir-objects disabled" warning
Silence compiler warning

   silence the warning from Uninitialized head_id
Add travis-ci script
Skip deprecated g_type_init() for GLib 2.36