tx.pl: Fix sharing api url, some whitespace fixes.
ownsql: Added some paranthisis to make clear whats happening.
SyncEngine: Show a warning if post update script can not be exec.
ownsql: Cleanups: In modern C++, we use 0 instead of NULL