Miscellaneous tidying

- Refactored to_canonical into its own file
- Refactored Parser tests into their own file
- Generous sacrifices to the Pylint gods
- Some editing of code in molecularStructure