move historical filename generation to utils for consistency across dataproviders
add str-to-Frequency and Frequency-to-str lookup dicts to bar
database fixes and cleanups
starting to refactor parts of DataProviders, store newest historical dates in the DB