rewrite build and package script by python
implement autostart support for osx
embed column progress inside column size

BTW clean some mis-indented lines and adjust the incorrect width of columns
draw the missing line on the top of the first row
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==
Merge pull request #359 from haiwen/use_progress_bar_inside_tableview

use progress bar inside the table view cell
try to open cached file if the file is cached previously
deprecate genapp.sh and put the scripts into scripts directory
use getParentPath for repo-service-helper.cpp
Merge pull request #354 from haiwen/use_cached_file

[RFC] try to open cached file if the file is cached previously
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