LDEV-1227: Export failing when the content directory under lams-www/secure had an images directory but no files in the images directory. Wasn't detected the directory as empty (as there was an images directory) but the zip failed as there were no files in the zip file. Now the check for an empty directory checks for empty subdirectories as well.
Added a new configuration item - server url context. This should be either "lams" or "rams". Used by the FCKEditor upload servlet code to generate the appropriate paths to the images.
When a design is edited using live edit, we may have added activities on the end. So if anyone has the lesson marked as completed in their learner progress, the completed flag will need to be reset.