We have to use /dev/shm for cache and log only with vagrant

This change fix an issue when we do not use vagrant for this project
Merge pull request #11 from prestaconcept/fix-cache-and-log-issue-withour-vagrant

We have to use /dev/shm for cache and log only with vagrant