Pagination Fix and other clean up

- A much better implementation of pagination
- Included all parameters in BV comment if bvreveal=debug param is passed
- Also check for bvrrp param if base page is specified