Added quarterly time partitioning. Fixed bug in run_maintenance. See CHANGELOG for more details.