Fix 2 bugs: 1. Insert activity parent is always before itself, so avoid foreign key exception. 2. Ignore some file attachment class which has null uuid.
Added styling images to export portfolio. This required adding the lams directory to the configuration file so that the css and image files could be copied using a file copy rather than using http (for performance).
Changed the dtd to 3.0. Using the old DTD causes the system to try to go out the internet when the server is started, and this stops JBOSS starting when not connected to the internet.