Add compareObjects() method for functionality shared among various compare methods.
Add compareObjects() method for functionality shared among various compare methods.

NHQ/paper,0/paper.js,0/paper.js,NHQ/paper