Fragments method: re-format long lines to agree with PEP8
Fragment method: check to make sure everything has the same elements
Merge pull request #33 from ATenderholt/cda_fix

Fragments method: check that all atoms are the same
When opening logfiles, use io.open instead of open

* This allows passing in errors='ignore' which is unavailable
  to plain open in Python2.
* Fixes Issue #30
Merge pull request #34 from ATenderholt/encoding_fix

When opening logfiles, use io.open instead of open. Fixes #30.