Running through pylint

Refactoring some of the internals. Correcting warning reported by
pylint. Some additional unit tests.
Version 3.1.0
Merge branch 'master' of github.com:petervizi/python-eeml