Fixes calculating prize pool totals

This commit reimplements the prize pool total calculation by using
database queries instead of looping through lists of objects. This
commit also adds service layer support for determing if a user
has entries in a drawing (to be used later).