minor reformatting of sql
allow arrays as param to getSessionByFileId
add legacy getSessionByFileId to use getSessionsByFileIds
refactor document.js, show overlay icon only when a member active, load session and member info with documents.php
move documents.php functionality to controller, add route