add checkPrivs to work with perms system for in-browser loans
add checkPrivs to work with perms system for in-browser loans

brisandbeans/bookreader,openlibrary/bookreader,gootdude/bookreader,openlibrary/bookreader,yankl/bookreader,brisandbeans/bookreader,garyrh/bookreader,garyrh/bookreader,yankl/bookreader,gootdude/bookreader,Islandora/internet_archive_bookreader,niksu/bookreader,brisandbeans/bookreader,garyrh/bookreader,niksu/bookreader,garyrh/bookreader,internetarchive/bookreader,internetarchive/bookreader,Islandora/internet_archive_bookreader,nikolas/bookreader,Islandora/internet_archive_bookreader,niksu/bookreader,openlibrary/bookreader,openlibrary/bookreader,gootdude/bookreader,brisandbeans/bookreader,openlibrary/bookreader,brisandbeans/bookreader,niksu/bookreader,niksu/bookreader,Islandora/internet_archive_bookreader,yankl/bookreader,yankl/bookreader,garyrh/bookreader,gootdude/bookreader,yankl/bookreader,nikolas/bookreader,Islandora/internet_archive_bookreader