Index action should join resource keys

* Example in README used undefined instance variable
* This change makes `set_surrogate_key_header` implementation consistent with
  http://www.hward.com/varnish-cache-invalidation-with-fastly-surrogate-keys