Session needs filesystem view as parameter; use getSharingUsersArray(), this function also adds the owner to the list
getUsersSharingFile() no longer needed, use  getSharingUsersArray() instead; fix filterShareReadyUsers() to return the correct results