API for activities #6
Fixed incorrect join table names
Make Rails delete dependent objects upon delete (cascade deletes)