Check that our Composer cache directory exists and create if not.
Merge pull request #2078 from GawainLynch/hotfix/composer-cache-directories

Check that our Composer cache directory exists and create if not.