fix(perfect-day): do not count non-active dailies when calculating perfect-day

When we calculate the perfect-day achievement, we should check to see if
the daily had repeat set for yesterday as well as if it was completed.

Fixes HabitRPG/habitrpg#2446
Merge pull request #94 from colegleason/perfect-day

fix(perfect-day): do not count non-active dailies when calculating perfect-day