fixed #2970 - modified inflections.rb to handle 'Puppetclass'.singularize and classify