Extract a base class from ActiveSupport::LogSubscriber

Adds a ActiveSupport::Subscriber base class that LogSubscriber inherits
from. By inheriting from Subscriber, other kinds of subscribers can take
advantage of the event attachment system.
Merge pull request #10218 from dasch/dasch/extract-subscriber-class

Extract a Subscriber base class from LogSubscriber