limit webtest getObjects() to 10

This fixes getObjects("Image") and getObjects("Dataset") on the webtest homepage, which were attempting to get ALL objects available to that user. Now this is limited to 10 each.

This has no effect on functionality, but should mean that running this on a server with a large number of available images causes no performance problems or server crash.