Fix the hashcodes
This is mostly a bugfix release, but also a performance improvement. v0.2.3 had a critical error in one of the new equality method on Literal.
In addition to that, we are better about caching the mapping of Expr nodes into the underlying Dag node type.