Changed key_exists() to array_key_exists()
Merge branch 'github.com/dev'
Replace an old key_exists call.
Add bugfix for the hotfix from contao.
Remove blanks.
Change a wrong var name.