Clay model had wrong foriegn keys for organisation (mouse errors while updating), leading to bad foriegn keys in the script. The new locale foriegn key missing in the user script.
make 'build-jar' depend on 'copy-lams-jar-to-shared-lib' instead of just 'lams-jar' so that master build script in lams_build won't fail if lams.jar is forgotten
Tweaking the cascading of child activities and the checking of order ids, needed to make OptionalActivities save correctly when an existing child activity is moved out of the Optional Activity onto the canvas (ie becomes a top level activity).
Added programatically controlled join class for the many-to-many relationship between workspace and workspace folder. Just can't seem to get Hibernate to create the record when we do it using Hibernate's many-to-many.This should fix the problem with the folder for a new organisation not appearing in the authoring module.