add pylama to tests and fix up code, closes #20
update .travis.yml
Merge pull request #24 from fizyk/pylama

add pylama to tests and fix up code, closes #20