updated composer documentation
Merge commit '1ccad3d97db122b71b84f222807e547b86687a12' into feature/composer-docs
Merge pull request #2784 from schmunk42/feature/composer-docs

updated composer docs
fixes #2776 renamed default template folder
Merge pull request #2786 from schmunk42/feature/renamed-gii-templates

fixes #2776 renamed default template folder
Added DI container implementation.
Turn module and application into DI containers.
Fixed test break.
fixed test break.
Update controller.md
Merge pull request #2791 from qiansen1386/patch-4

typo fix in contoller.md
Added note about configuring nginx for HTTPS
typo fix
updated german translations
Added unit tests.
Refactored container.
Merge branch 'master' of https://github.com/yiisoft/yii2

Conflicts:
	framework/base/Formatter.php
	tests/unit/framework/base/FormatterTest.php
refactored code to use Instance::ensure()
Changed comment again to actually be correct. This is also consistent with the draft of the definitive guide.
Modified example in DataReader usage comment to reference a DB Command function which accepts a SQL string argument.