Refactored agenda log summary

Shifted the bulk of the code to dotoo/agenda/log_summary.vim for cleaner
code and easier maintenance.