Added exportPeriodData method to Database class. Loops through the database at a given frequency and stores summary statistics for each period in pandas DataFrames in an HDF5 file.