Added a tox configuration.
Simplified some conditionnals.
Bumped version number to 0.1.1