Trait based inheritance

This is largely based upon #9 and #91, but fleshed out to make an actual inheritance proposal.
For easy comparison with the other proposals for handling DOM-data structures, could you show how https://gist.github.com/jdm/9900569 would look encoded with this proposal please?