Tweaked javadoc and parameter name in DBPermissionManager.selectPersona()
Made DBPermission.filterQueries() a bit more cautious with ownerInvids

This change makes sure that another thread in the calling code can't
mess with ownerInvids while we're verifying the persona's permission to
set those ownerInvids