PLAT-345 wrap $wgUser object when posting to wall (release branch PR)

This is for merging https://github.com/Wikia/app/pull/4357 into the release branch. That PR has been code reviewed and tested in dev.