Load avatar in header via PHP

Load the avatar in the header via PHP instead of JS.

I can't really test this, because I get https://github.com/owncloud/core/issues/7707 when I try to upload an avatar and thus can't upload avatars …

@owncloud/designers @jbtbnl
Also the display name is wrong here. It's the UID.