LDEV-257: Priview now works. Previously it had special code for preview which didn't set up a row in the learner session table. Now it calls exactly the same code as learner.While fixing this I found another bug - when the session is finished it was updating the wrong row in the learner session table. it was getting the row by user, rather than user & session. Now updates the correct row.
Service bean transaction definition was missing some of the ToolContentManager and ToolSessionManager methods, so these methods were not forming part of transactions.
commented out method copyAuthoringFormValuesIntoFormBeanFCKEditor fields are now properties in the struts form bean, so there isnt a need to copy the values into the form.
removeToolContent - it will try to delete files from repository before deleting the NoticeboardContent object.createToolSession - modifications made as to way its saved