Better logging and insert id fix.

Profile ID's are now entity_id + event_type
Merge pull request #128 from MastodonC/feature/profile-upload-fixes

Better logging and insert id fix.