Epic improvements to toMolecule!

toMolecule now works! Errant ring-completion behavior that was leading to
the following hilarious errors --

http://snag.gy/bUeFJ.jpg
http://snag.gy/1Pask.jpg
http://snag.gy/v4701.jpg

-- has been fixed. Alongside that came various edits to toSmiles,
including some much-needed refactoring. Pylint is being obeyed everywhere
now, thanks to Sublime Pylinter. Minor errorfixes to molecularStructure,
an additional helpful output in the /api/test view, and several new unit
tests for toMolecule.