Allow per-file configuration
streamline logging a bit
another smoke test for per-file-config
add --search/--replace option

Fixes #46
Add test resembling #41

Fixes #41
fix --search/--replace when used with CLI
few more assertions
give warnings on soon-to-be-deprecated uses
enable multi-os on travis