Replace bin/daemoncmd with setuptools entry point console script.

Also update tests to reflect this change, add tests/ to the project, add
a .gitignore, add __version__ to the module, add a CHANGELOG file, etc.