Added threading.local to ignored classes default list
Note that the implementation names for Python 2/3 are used (threading.local is an alias).
Also changed related places for consistency.
Made list of property-like decorators configurable.
This makes it possible to configure pylint to accept custom decorators similar to @property without the need to explicitly add a pylint directive #pylint disable=invalid-name
Using some of the builtins is just fine, we don't have to warn
about using filter or map, since it imposes a split opinion,
that can't be easily be agreed with in certain cases, leading to
the disabling of the check. As such, is far more suited to remove
the check.
This makes it possible to configure pylint to recognize backports of
contextlib or other decorators similar to @contextmanager without the
need for an explicit #pylint disable=not-context-manager
Tested with a backport of contextlib from Python 3 onto Python 2
imported under a different name.