Fix #56 - Avoid loading the ancestor and descendant in the hierarchy model equals method.

Fix for #56 - In the hierarchy model equals method compare the ancestor and descendant models by id so they don't need to be loaded.