Rest-core: explicit exports and remove unused code.
Rest-core: don't put Cache-Control: private on files.

This way they can be cached by public proxies, e.g. cloudfront.
Bump rest-core and rest-gen.
Rest-core/rest-gen: Add changelog.