Add testing and checking to apache.config state
Pylint and pep8 cleanup