Optimizing mod_k2_tools calendar day SQL query(-ies-) refs #49

one query with GROUP BY is enough to get this info
refs #49: single SQL query to check calendar day k2 item presence
closes #49
Merge branch 'patch-2' of https://github.com/creativeprogramming/k2 into patch-2