fix tests of consumer
fix endpoints tests
fix test_provider tests
fix viewlet tests
pep8 + travis setup for python-validation and tests