[KFSQA-645] Refactored some of document.rb and utilities.rb to make it easier to get an object's class or associated page.
[KFSQA-645] Refactored some of document.rb and utilities.rb to make it easier to get an object's class or associated page.

CU-CommunityApps/kuality-kfs-cu