Help with folder permissions

Adding the cache and log folders to the repo to help with folder permissions (ie it could prevent permission errors when creating the folders)