Update Apache documentation ID map.
Get rid of the Rake package task libraries, and add a proper gemspec file. Fixes issue #846.