Added tests. Fixed few minor issues found while writing tests.
Added instruction how to run tests.
Removed *pyc files.
Added .gitignore file.
Minor changes according to code review comments.
Code review comments.
Removed unused import.
Merge branch 'master' into add-tests

Conflicts:
	CHANGELOG.md
Merge pull request #6 from yola/add-tests

Added tests. Fixed few minor issues found while writing tests.