get_all now working for documents & themes.  Some commonalities
between the two are now exploited, and should hopefully be reusable
for other get_all resource types.

All specs passing.