Target guid

This is updated version of #5206

- Added target_guid to database schema
- Target entity is now prefetched for river
- Replaced add_to_river() with elgg_create_river_item() in bundled plugins
- Rebased

At the moment this should cover all the requirements presented so far. I wonder if we have missed anything...