Add filter flag to top pages

Adds support for filtering the `topPages` call to linkscape api.
Debug code.