`-generate` flag should also create config.xml (closes #847).
Fix a missed nil (fixes #846)
Revert and replace 31d95ac, 65acc7c, 87780a5
Keep temporaries for reuse, cleanup before pull (fixes #849, fixes #841)
Add Nutomic
Merge remote-tracking branch 'origin/pr/852'

* origin/pr/852:
  `-generate` flag should also create config.xml (closes #847).
Merge pull request #853 from AudriusButkevicius/unfinished

Keep temporaries for reuse, cleanup before pull (fixes #849, fixes #841)
Merge pull request #854 from AudriusButkevicius/nils

Revert and replace 31d95ac, 65acc7c, 87780a5
Integration tests should take .stfolder into account when comparing dirs
Only do initial scan if scanInterval==0 (fixes #856)
Best attempt when creating a folder marker (fixes #857)
Cleanup temporaries once an hour (fixes #858)
Use relative path in integration tests
Add further nil checks (fixes #862, ref #864)
Merge pull request #859 from AudriusButkevicius/markerfix

Best attempt when creating a folder marker (fixes #857)
Merge pull request #860 from AudriusButkevicius/ticker

Cleanup temporaries once an hour (fixes #858)
Merge pull request #861 from AudriusButkevicius/int

Use relative path in integration tests
Don't add newline on version string (fixes #865)
Repackage discovery registry so that it can be converted to JSON.

The registry uses a non-string type as keys which is not possible in JSON.
Set content type on discovery rest request.