Added global SConstruct with flake8, pylint, autopep and unittest
Fixed some issues reported by pylint