Release version 0.2.2

Fixes the Python 3.4 issue #10, tidies up the unit testing, and integrates all the pending fixes.