log: add some logging

Logging is done with `hslogger`. It is controlled by using some
command-line flags. `-v` enable more verbose logging. `-l` allows one to
log to a file in addition to stderr.
Merge pull request #5 from vincentbernat/feature/logging

log: add some logging