Mount /dev/shm as a tmpfs

Fixes #1122.
Make sure all needed mountpoint are present
Merge pull request #1460 from dotcloud/patch1

* Runtime: Mount /dev/shm as a tmpfs