Fix isTempName to work on Windows (fixes #80)

```path.Base()``` is for slash-separated paths, whereas Windows uses "\" to separate paths. Just convert the \ to / and it works.
Merge pull request #81 from filoozom/patch-1

Fix isTempName to work on Windows (fixes #80)
Add basic config tests
Fix handling of default values in config (fixes #83)