Fix bug in logic for when to set up logging in the destination directory.
Remove unused variable
Check that destination has been set before setting up loggers to destination
Add check for working directory and destination directory being same to avoid two loggers writing to the same file

closes #73
Add pytest-capturelog to installation requirements