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'].
Merge pull request #550 from nijel/demoserver

Demo server support