Adds tests and fixes for corpora.
Use correct email package imports.
Removes dbmstorage module; uses 2to3 updates.
Adds copyright information.
Updates tests.
Adds some missing copyright notices.
Major updates to make tests pass.