Update 08_upgrade_to_1_12_0.rb

As Revisions and Categories are polymorphic, we have to change all references to the old class names. Otherwise old entries will loose all categorizations and revisions.