cgates: Major reformatting with monir refactoring to comply with PEP8 Python Style guidelines; liberaly added pylint exceptions