turned add_pagination_vars() into Pagination::addVars(), make it work in a non-reference way (i.e. return the resulting array)
whoops, forgot the actual file