Query benefits based on benefit type ID, rather than instance ID.

This fixes a bug from c6f629c whereby sponsor benefits were being
queried by instance ID, rather than the ID of the benefit type.
Merge pull request #111 from felixc/fix-sponsor-json

Query benefits based on benefit type ID, rather than instance ID.