minor tweak to plugins (used object format instead of potentially
confusing array)
Merge branch 'master' of github.com:designcreateplay/NodeBB
fixed issues caused by inadvertant globalisation (and its subsequent fix)