added pytest.
travis: initial test script.
ignoring pycs and __pycache__.
added initial files.