Fix EZP-20193: Add configuration generation for Stash cache

Make setup wizard and console command generate stash config.
NB: Currently only APC is working, as there are issues with Stash-bundle for the others.