Fixes #8210 - Adding caching for smart-proxy puppet classes using Stefan Julin's implementation of cache

How do you know that cache has been used? You'll either need to verify the contents of ```:manifest```, or (probably easier) use a mock instead of a stub. The latter would allow you to verify whether a given call was made as expected.