GetImagesForQuery: Add userip, remove 'pages'

Use the 'userip' arg in the query (which allows per-user accounting from
the API console, I believe), and remove support for the 'pages' arg. In
the new API you get 10 results per page, which is more than the 8 total
we got previously (split over 2 pages).