Add cache helpers.
Merge branch '7.x-1.x' into 281-role-cache-granularity

Conflicts:
	plugins/restful/RestfulBase.php
	tests/RestfulRenderCacheTestCase.test