Ancestry

A complete rewrite of the package, using ReferenceClasses instead of S4. The package draws inspiration from the Ruby and Rails gem [Ancestry](https://github.com/stefankroes/ancestry) by Stefan Henzen.