don't get confused by symlinks that are not annexed files
fix typo
do a post sync check on git and annex dirs
fix check hooks
implement path checks for directories
rename some HostException to HostError
do not pass sensitive data as shell command arguments
fix checks on git directory init
add host config to remotes and configure url from host data
fix a couple of silly bugs
handle directory hosts in the remote too
fix host type detection
add command to do system upgrades
reorganize lastsync logic and signal ongoing syncs
regroup all lastsync related code into host/base.py
improve sync for git and annex dirs

- set the origin for current branch before syncing
- fail if remote is on different branch than local
check whether local working dir is clean before sync
reorganize annex sync code
initialize if needed for git and annex dirs
fix is_initialized for git dirs