support STI subclasses (via parent index)
Merge pull request #11 from zapnap/support_subclasses

support single table inheritance / subclasses (via parent index)