Refactor configuration handling. The decision to import local_config or configuration is always handled in __init__ now, and the imported configuration is always validated and further manipulated at that point. Fixed a bug in write_bucket_to_disk where the oops_id was overwritten as the null string. Fixed a bug where query_bucket_versions would raise an IndexError for an empty set.