MDL-40040 events: replace add_to_logs in blogs

Clean up add_association() and add_associations() methods
Add a event blog_association_created
Replace add_to_log with the new events
Add unit tests for the events