remove a lot of extraneous debugging now that most of this stuff basically works
Merge https://github.com/friendica/red into zpull
process str_replace before urlencoding
some minor cleanup on plinks for some very subtle permissions issues