base class for pillows that save to SQL
Merge pull request #72 from dimagi/sql-pillow

base class for pillows that save to SQL