Fix STUD-1129: handle out-of-range page numbers

I've fixed the assets REST API to return the last page of assets if querying out-of-range. This means that the UI cannot accidentally show a blank page of results. I've added tests that verify the correct behavior in out-of-range conditions.

@cahrens please review.