measure record instantiation time in AS::Notifications

emit an event when we instantiate AR objects so we can see how manyrecords were instantiated and how long it took
    
backport of rails/rails@2a0d97bc89fc230241453cbbf55621309e1f3ac6