refactored the way entries and statuses are fetched
only filter by date is the set is full
fetch the entry instead of creating an empty one
use faster query for 'all unread'
Merge pull request #452 from Athou/refactor

Refactor