Major re-factor - see extended description

Major changes include:
- Config is now read from a separate file, meaning that updating the script is simpler
- There is now a simple check for all required binaries used by the script before the backup process begins
- SSH authentication is now tested before the backup begins
- write permission is now checked remotely before the backup begins