Prep for version 1.6.0 of FTP_Upload

Inspired by Howard Matis:
- created var baselocation and based other directories below the base
location
- moved 2 times to localsettings
- moved a few sections around

Added Flag for using sftp instead of ftp.
Made references to localsettings explicit

- Added comments on different kinds of imports.
- It was unclear fromv the code which variables were local which came
from localsettings, to change all references to variables from
localsettings to explicit path so that they could be easily identified.
Fixed import of Localsettings.
Changed hardcoded timers to config.

- Changed hardcoded sleep timers from hardcoded values to configurable
values from localsettings
- added a bit of logging
- removed 1 line of commented out old code
- removed incorrect reverence to a global variable
upload agnostic function and variable names.

- changed all function names from "ftp" to "server" to become agnostic
for when we allow connection using both ftp and sftp
- changed all internal variable names from "ftp" to 'server" to become
agnostic for when we allow connection using both ftp and sftp
- left localsettings config variables unchanged to remain at least
somewhat backwards compatible.
Documented  Diffs in FTP and SFTP absolute Paths

FTP and SFTP on Dreamhost sees absolute paths differently.
Added SFTP functionality Version 1.6.0

- Changed version to 1.6.0
- in the few functions where FTP calls where made: add a branch to call
SFTP when needed instead.
- Added a lot of Debug messaged to find out in which function the code
crashes
- Could not distinguish ftp_uploads debug messages in the chatter from
SFTP debugs, had to add prefix to every debug message.