Let web services handle collections as well as views

Bug 1303491: These web services are used by the Moodle-Mahara
assignment plugin. We're expanding it to handle collections
properly.

Change-Id: I9c2ffd7a2d65f6b5645ae3005c5993315b43d451
Merge "Let web services handle collections as well as views"