Add missing changes for webcode upgrade.
Merge branch 'fix-upgrade-webcode' of https://github.com/petrjasek/Newscoop into v4.1