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

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