rewrite build and package script by python
implement autostart support for osx
free all GErrors returned from libsearpc
free the components of SeafileApplet when the program exits
eleminate memory leaks by the dynamically allocated na_mgr

valgrind log:

==4037== 238 (96 direct, 142 indirect) bytes in 1 blocks are definitely lost in loss record 2,403 of 2,896
==4037==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==4037==    by 0x646A3D0: QLibraryPrivate::findOrCreate(QString const&, QString const&) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==4037==    by 0x646AB6C: QLibrary::setFileNameAndVersion(QString const&, QString const&) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==4037==    by 0x60A59BE: q_resolveOpenSslSymbols() (in /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4.8.6)
==4037==    by 0x609D552: QSslSocketPrivate::ensureLibraryLoaded() (in /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4.8.6)
==4037==    by 0x609F918: QSslSocketPrivate::ensureInitialized() (in /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4.8.6)
==4037==    by 0x60971FB: QSslConfigurationPrivate::defaultConfiguration() (in /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4.8.6)
==4037==    by 0x6090AE8: QSslConfiguration::defaultConfiguration() (in /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4.8.6)
==4037==    by 0x602D934: QNetworkRequest::sslConfiguration() const (in /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4.8.6)
==4037==    by 0x6018332: QNetworkAccessManager::createRequest(QNetworkAccessManager::Operation, QNetworkRequest const&, QIODevice*) (in /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4.8.6)
==4037==    by 0x60154E3: QNetworkAccessManager::get(QNetworkRequest const&) (in /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4.8.6)
==4037==    by 0x49E813: SeafileApiClient::get(QUrl const&) (api-client.cpp:61)
==4037==
deprecate genapp.sh and put the scripts into scripts directory
update outdated part of Info.plist
show revision in the about dialog
support Shibboleth SSO
Merge pull request #368 from haiwen/update_info_plist

[NFC] update outdated part of Info.plist
Merge pull request #366 from haiwen/show_rev_version_in_about_diaglog

show revision in the about dialog
Merge pull request #360 from haiwen/rewrite_build_script_by_python

deprecate genapp.sh
Merge pull request #349 from haiwen/support_autostart_osx

implement autostart support for osx
add a global menubar and docker menu on macosx platform
Fix a typo
Merge pull request #370 from haiwen/fix_a_typo

Fix a typo
enable ci build on osx
fix some bugs in build.py
strip rgb profile from images to avoid libpng warnings
Merge pull request #375 from haiwen/fix-libpng-warnings

strip rgb profile from images to avoid libpng warnings