Added test to verify if caching works with a HEAD request
Added caching_allowed? method that is removed from Rails core
Merge pull request #1 from michiels/add-caching-allowed

Add caching_allowed? that was removed from Rails 4 core