Action_caching and page_caching rails 4 compatible

Added rails4 dependencies for action_caching and page_caching.