Merge pull request #2 from friendica/master

Merge from main project
Merge pull request #582 from beardy-unixer/master

Doco
fix empty reshared content
Merge https://github.com/friendica/red into pending_merge
put back old pointer
encode rss message-id's - warning this will double store all existing rss feed items and probably make a mess of things
argument order reversed in downgrade_accounts
in case somebody has problems and does an update to try and fix it, put something in the logs to show what's happening.
and provide a strong hint by showing the errant account_flags
reduce log level of inbound d* posts until we get through some of the more serious federation issues
Doco - URL update, kill dupe
some fixes for auto-perms across networks
Merge https://github.com/friendica/red into pending_merge
diaspora connections being marked orphan on directory servers
go through the entire discovery sequence for mentions to make sure we have the correct URL
Did I ever mention how much I HATE hacking crypto? If you've got a protocol doc that says how you sign something, you damm well better sign it that way.
cross-network mention issues
this should be the final piece of the puzzle
don't include plus-sign in the stored term for imported mentions
should be updated