Added pagination code, fixes #1

Added pagination (paginates by total number of items in the collection
"all") to both the page snippet and example page template.