Fix raw_data link_id bug.

When creating a new raw_data object don't instantiate the UUID, just
provide the function to call. This fixes the issue where a new raw_data
is always linked to the first one that is uploaded after a server restart.
Apply same UUID fix to events.
Merge pull request #223 from crits/raw_data_uuid_fix

Fix raw_data link_id bug.
Merge branch 'master' into actor