Refactored smells out of document/polymorphic.rb

Smells reported by reek:

Before:

12: NoBrainer::Document::Polymorphic#reset_attributes calls self.class
    twice (DuplicateMethodCall)

After:

Nothing reported