Merge branch 'develop'
Merge branch 'develop'
Merge branch 'develop'
Merge branch 'develop'
Merge branch 'develop'
Merge branch 'develop'
Merge branch 'develop'
Update source base directory

Using ${SETTINGS_DIRECTORY}/src instead of ${SETTINGS_DIRECTORY}/var
Merge branch 'develop'
Uniformize exit codes

- Create variable SCRIPT_INTERACTIVE to check if the script is running
  in an interactive shell;
- Update deploy log file names to use datetime instead of timestamp;
- Create function `_exit()` to do logging with all exit codes;
- Checks if DEPLOY_LOG_FILENAME variable exists on `_log` function;
- Check variable DEPLOY_LOCK_FILE on `_lock_remove` function and
  remove logs of this function in favor of `_exit` function logs;
- Implement logs on `_lock_create` function.