Read file like objects

Changes:
* Add read_mols_from_file method to read mols from filenames. This method supports gzipped files and attempts to extract the mol_format from the filename.
* Update read_mols so it operates on file-like objects. The mol_format argument is now required, since it cannot necessarily be determined from the file-like object.
* Update tests and fix improper imports in test files.