Fix manual Rest tests
Update manual Pagination_tree test for recent rest.php changes
Fix off-by-one range requests in OnDemandList and Pagination