Implement query_cache for community pages; #951

As low-hanging fruit I'm bringing over a module I wrote years ago for
caching database queries.
Bump version to 8.2.27
Bump version to 8.2.27-dev