Use os.path.join to be able to use relative or full paths
Rename storage_dir and log_dir to storedir and logdir
Document storedir and logdir
Use storedir and logdir on the tests
Add --pidfile option
Add --logdir option