Make the cache and images directories owned by vagrant

Otherwise it's easy to hit permission errors when running
maintenance scripts and unit tests.

Group is still www-data and permissions are owner/group
so it shouldn't have any problems writing.

Change-Id: I0e0abfb8381c00a4e8acae5447efe38bb8e91636
Merge "Make the cache and images directories owned by vagrant"