Fixed escaping in error message asking for translations
Merge branch 'MAINT_4_0_5' into QA_4_0
Merge remote-tracking branch 'origin/QA_4_0'
Fix number of user prefs

I wonder whether it really makes sense to test against count of
configurable properties...
Demo server support

This merges messages used in demo server to allow their translations and
consistent handling like other messages. Messages are enabled by
$cfg['DBG']['demo'].