Implementing @FutureShark's fix

Fixes #2

Also adds basic unit tests
Preparing for 0.1.0 release

Better README, added LICENSE.md, prepare for Travis integration
Inserting Travis link in README
Merge pull request #3 from hakamadare/bugfix/2-dependency_cycle

Bugfix/2 dependency cycle