Adding ActiveModel interfaces

ActiveTriples should meet requirements for the ActiveModel API. This
introduces that functionality.