Update db.php

Added a function "get_event_months" that returns a list of distinct yyyy-mm strings of start_date.