Merge pull request #334 from swpd/master

Remove unnecessary monitor submodule
Add -lpthread to make compile pass
added suppoer for gnome-keyring
RepoPass for encrypted library is stored in gnome-keyring instead of the sqlite3 database
added fallback for old style repo password read
If the gnome-keyring support is enabled, the password search in this order
 - gnome-keyring
 - if not found,  sqllite3 database

If the libarray is removed from syncing the password is removed from both
 - sqlite3 database
 - gnome-keyring

In case of the upgrade, the RepoPassword will not be automiticaly migrated to
the gnome-keyring. User needs to unsync and sync the library again.
[scripts] improve error messages in setup-seafile-mysql.sh
remove monitor/Makefile from configure.ac
New block transfer protocol.
Fix a few memory leaks.
Remove a redundant log message.
[win] Fix compilation errors for new block protocol.
Merge branch '1.8'
When generating session key for block transfer protocol,
if RAND_bytes() doesn't have enough entropy, fall back to
RAND_pseudo_bytes().
[scripts] add db upgrade script for windows server
[scripts] improve seafile.sh & seahub.sh to allow multiple seafile server instances running on the same machine
Fix misleading log message
Merge pull request #345 from ef4/patch-1

Fix misleading log message
added brasilian portuguese language on client and web client
removed tmp file
Merge pull request #351 from dmvieira/master

added brasilian portuguese language on client and web client
[client] update local web client to add pt_BR translation