uon merge conflict fixes
Merge pull request #45 from drjosephbaxter/master

uon merge master
Allow older backup files to be restored correctly.
fix upgrade path for UON code
CONTRIB-5287 fix paging so that the currdate doesn't change.
tidy up string a bit.
CONTRIB-5245 Check to make sure user can view this attendance before showing related report.
CONTRIB-5245 set up courseatts correctly