Re-added mini-panels cache patch from @tomjjames.
Merge pull request #100 from amcgowanca/7.x-1.x-dev

Re-added mini-panels cache patch from @tomjjames.