BF: create flushlogs command to prevent logrotation clobbering logtarget. Closes gh-458
TST: test case for flushlogs
TST: fix flushlogs and include test for STDERR flushing
Merge pull request #470 from grooverdan/flush-logs

BF: create flushlogs command to prevent logrotation clobbering logtarget...