Security fix to stop students being able to see the attendance records of other students.
Security fix changed to use mod/attendance:viewreports capability.

Refactored the code.
changed to use require
Merge pull request #8 from NeillM/view-security-fix

Security fix for unprivileged access to attendance records
version bump for security release
Added paging to reporting and taking attendance configable via module setting.
Add validation rule for session days if they are empty when creating multiple sessions
Add validation rule so session end date must be after session start date
Merge pull request #10 from tlock/master

Our improvements