Add support for subclassing

Similar to ActiveRecord single table inheritance, dstore now supports a
'type' attribute that directs which class will be initialized, which
opens up subclassing support.
Add activerecord development dependency
Add a TODO