LDEV-3689: Updates current spreadsheet row when saved, rather than creating a new row every time. This stops the marks (linked to the spreadsheet) being lost when the spreadsheet is saved after marking. Also fixed the monitor's view screen so that it has the learner's own spreadsheet not the generic lesson spreadsheet.
LDEV-4180: Make DB patches produce up-to-date structure during build instead of applying multiple patches.Get rid of unnecessary tables and keys.Modify boolean columns to tinyint(1)Simplify patches where possible.
LDEV-3660: Remove export potfolio resources: Java classes, JPS, DB entries and labels.Remove localLinkPath attribute from CSS tag as it was only used for export portfolio.