Added indices to the foreign keys, per Casey's recommendation.
Fixed two add indexes on the memberships table.
Merge pull request #16 from henry-p/add-indexes

Added indices to the foreign keys, per Casey's recommendation.