If a post is a pure reshare, then show the profile of the original author on the display page.
Only show foreign items if the profile of the user isn't hidden. Show the user's theme - not the theme of the viewed profile.
bbcode: mask "[" and "]" for attachments.
oembed: Prevent empty links
Bugfix: connecting with other users now works again.
Merge pull request #1086 from annando/master

Bugfix: Connecting with other users works again/Some more profile optimizing