Added cdn_avatar() method and a little PSR-2ing

cdn_avatar() fetches a user's avatar, or a blank one of no avatar is available