Adding hook for Travis-ci, now our build is tested before it goes to production!

I also introduced a bit of PEP8 into tests in api app. Nothing major.