major improvements to setup.py; moved test files to module directory; add setuptools support