documentation and packaging

first steps towards proper documentation and packaging. readthedocs is
up, though the package is not yet configured/available on pypi