Added untested functions "--chroot" and "--mountpoints"
Fixed potential segfault on incorrect arguments
Added support: %PID% -> getpid()
Fixed unshare()
Few fixes about umount()-ing
Fixed a segfault
Added SIGTERM to kill chain
Deduplicating killing code
Added status "synchandler error"
Merge branch 'securityfeatures' of https://github.com/xaionaro/clsync into securityfeatures
Separated privileged thread
Capabilities fixes:

* Added option "--inherit-capabilities"
* setuid()/setgid() to original user (not always to root)
* Fixed building without capabilities support
* Try "nobody"/"nogroup" before "65534" on default values
Fixed a deadlock in privileged.c
Disabled thread splitting by default
Fixed a building error
Fixed one more deadlock in privileged.c
Re-enabled setuid()/setgid()
Two lines: VERYPARANOID -> PARANOID
Tiny fixes from illidan
Added "errno" support to privileged_*()