Bump version to 1.2.2

Also fix the build, add a MANIFEST file, etc.