Single Table Inheritance Fix

Started working on the votes implementation and discovered issue with STI of question and answer models. Questions and answers were not being differentiated in the table causing problems questions and answers to being displayed properly.
- To fix issue: added a type column and after_save hook in the respective models.