Cache configuration files #2066

Configuration files is always cached on production (but recreated during build)
and never cached on development machines
Update composer lock file (without any significant changes)
Generate classmap for increased performance #2066