fix for default ars see #25. allow log directory to be configured.
standardized how we expand paths.
Merge pull request #32 from npm/bug-fixes

Argument parsing fix