refactor padrino-cache, closes #827
really fix #827, add @dariocravero's test
Merge pull request #1340 from padrino/cleanup-cache

refactor padrino-cache, closes #827