Adding base pylint rcfile and plugin for unittests.

I am also preparing for the case that `getattr(module_obj, class_node.name)` returns something that isn't a type. This may occur if the class is not defined at the global level. For example 
```python
def A():
  class A(object):
    pass
```
both objects would produce an `astroid` object with `astroid_obj.root()` equal to the module, but `getattr(module_obj, 'A')` would always return the method `A` rather than the class `A`.

I can add a comment above this line (or near the `except`) to explain?