CS-4544: Upgrade from 3.5 fails to populate webcodes

Refactor webcode populate script not to use article entity.
Merge branch 'fix-upgrade-webcode' of https://github.com/petrjasek/Newscoop into v4.1