[feature/bootstrap-dic] Bootstrap container from config.php

PHPBB3-11651
Merge pull request #1522 from igorw/feature/bootstrap-dic

[feature/bootstrap-dic] Bootstrap container from config.php
[ticket/11660] Fix bugs from bugs in #11651 (missing vars, db->sql_connect)

PHPBB3-11660
[ticket/11662] Typos: occured -> occurred

PHPBB3-11662
Merge remote-tracking branch 'remotes/bantu/ticket/11662' into develop-olympus

# By Andreas Fischer
# Via Andreas Fischer
* remotes/bantu/ticket/11662:
  [ticket/11662] Typos: occured -> occurred
Merge branch 'develop-olympus' into develop

# By Andreas Fischer
# Via Andreas Fischer (1) and Nathaniel Guse (1)
* develop-olympus:
  [ticket/11662] Typos: occured -> occurred

Conflicts:
	tests/template/template_test.php
Merge remote-tracking branch 'EXreaction/ticket/11660' into develop

* EXreaction/ticket/11660:
  [ticket/11660] Fix bugs from bugs in #11651 (missing vars, db->sql_connect)