Use setuptools with install_requires and declare dependency on pyserial

Fixes #15.  Also tweaked to be more idiomatic Python (PEP8 compliant).