Bug 1565546: Allowing $cfg setting to be json
1) Allowing $CFG to accept json encoded strings and to be decoded back to php
2) Making the $cfg->openbadgedisplayer_source a json encoded string
3) Allowing the openbadges have the defaults only on one place and warn when they are missing
behatnotneeded
Change-Id: Ica0349d6343d9f608b2272117d7412b288799278
Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>