Supports subclassing Entities to an arbitrary depth. Drills down to
find the most specific subclass to use. Also now supports subclasses on
an entity with a relationship to the primary entity, e.g. en
"[Tree]-<[Apples]", each Apple subclass is (recursively) queried to determine what
type of Apple it is.
fixed whitespace deletions from last commit
added style tweaks on recommendations from @cnstoll
Merge pull request #52 from iandundas/master

Supports subclassing Entities to an arbitrary depth, and on relationship entities