Create cdbifunc_07_01.py

Minor edits to make compatible with cdbfunctions_07_01.py list_visits. To the best of our knowledge, this file is only lacking the generate_monthly_report and generate_yearly_report functions.