Persisting filter/permission options in the URL for the lightbox and next/previous links. #1168
Adding option/permission persistence in URL on photo detail page when paginating. Closes #1168