Added in top section to check parameters and to centralise logging.
Starting to put functions into a separate file.
Database and initial files download is complete.
Initial sites can now be created by pullinitialsitefromsource.
The script to push initial sites to beta is now finished.
Tweaked pullinitialsitefromsource file to sort out permissions on files/ directory.
Scripts finished; pullinitialsitefromsource, pushinitialsitetobeta and pulldevfrombeta.
Scripts have been tidied up - added facility to save beta site database dumps.
Tidying up changes related to directory and file permissions.
Minor changes and tidy ups.  Sorted out permissions for non-ITK web server, added script locking, cache clearing and made backups generic to save server space being used up.
Added the softlock capability to prevent devs from overwriting eachothers changes.
Added tweak to locking mechanism to enable it to be used by different users.
Tidied up files.
The script pushdeploytodatadump has been completed.
Changed and checked through handling of the settings.php file - this will now be based on the initial site settings file which will be copied to default.settings.php.
All scripts effectively finished - need to look into warning from running import module via drush.
Changed data dump scripts as we are now going to try to rsync file trees directly.
Made getting variable vis Drush more exact to prevent error.  Removed check for dump files in deployment stage as files are now being updated using rsync.
Complete overhaul, refactoring and speed improvements.
Resolved merge conflict.