Added TaggedLogging from ActiveSupport 4.x

This is a pretty simple change that adds TaggedLogging from ActiveSupport 4.x.  I corrected the formatting a bit but the actual code change is just a couple of lines.