Update birsync.sh
Update birsync.sh

 - nicer lockfile name
 - checking both SSH and HTTP hosts
 - HTTP notification enable flag
 - prechecks() function
 - simplfied logging function that logs to single file
 - import URL parsing function
 - abort on failure first try and cleanup()
 - remove explicit `return 0` where possible, this is the default behavior, only use it for early bail-out
JayGoldberg/birsync