Use custom, persistent caching directory for composer

Seems to work here, let me know if there are any issues.