Revert to Cog r.2701. Move all version stuff to version.rb.