getFolderContents wasn't returning designs when mode=1 (authoring). The equality check was wrong (using == instead of .equals), so it was only returning valid designs. Nothing is setting the "valid" flag yet, so no designs were valid, and hence none returned.
Fixed bug - tool content id was not being updated when a tool activity was updated. The code that handles the special fields for tool activities, optional activities, etc wasn't being called.
The getActivityByUUID now gets the real activity, rather than the hibernate CGLIB version, to avoid classcast errors when updating an activity in authoring.