Print internal error messages to stderr

Makes logs a bit easier to scan through, as errors are in a separate
stream.
Merge pull request #23 from stephenmathieson/print-errors-to-stderr

Print internal error messages to stderr