initial logging cleanup; removed a bit of old and unused code
standardize debug logging to 'lifetime events'; add a simple command line interface
Merge pull request #77 from nskinkel/logging

Merge logging updates into master branch.