Release 0.2.2. Adds support for getting of version (fixes #857).