Add Rack::Cache, cache headers on register form

- Rack::Cache middleware is added in production only
- Cache control headers for the register form are added as "cache for 10 minutes, public caching allowed"