Fix landscape.io errors and some pep8