WIP: Cache invalidation by entity.

#6043 
WIP
While in bootstrap.inc it is `X-Drupal-Cache` we get failures over and over for not getting the header. When debugging I found out it exist, but as `x-drupal-cache`. My guess is that it is somehow relate to the HTTP server configuration, but either way as long as we have one of them I think the test should pass.