search.py improvements for variable page size
search: Allow variable page sizes, provide dropdown, calculate pages correctly