Fixes replacement of table prefixes

If a package, that is no application, requires an application (in WCF 1, this would have been a plugin), only the `wcf1_` prefix is replaced, thus altering existing application tables or creating new application tables isn't possible.

This commit now replaces app1_ with app{WCF_N}_ for all installed applications.
Update option.tpl

Added two new template events
Fixed issues in page menu administration
Added missing permission
Suppressed warning for missing php timezone setting
Added user ban function
Added user ban function
Removed obsolete code
Adds missing whitespace before JS-inserted user panel badges
Adds missing validation of UserOptionAddForm::$outputClass

Fixes #1258
Adds missing input description
Corrects position of input field description
Fixes error message of unknown modifiable content object types
Added ability to install packages through search
Merge branch 'master' of github.com:WoltLab/WCF
Added styling for selected rows
Merge branch 'master' of github.com:WoltLab/WCF
Improved clipboard for multiple action classes
Merge branch 'master' of github.com:WoltLab/WCF
Added language variable