Add setting ['composer_autoload']

Supersedes PR #3132