Add scoped attributes.

scoped_attributes_t object automatically adds some attributes to all log messages in its scope.
Added abstract base class for scoped attributes.

User may want to implement his own guard.
Merge pull request #3 from andrusha97/attribute-guard

Scoped attributes.