Improve error handling. (4.5.0)

OGRe now raises its own custom exceptions. The fail_hard runtime
modifier causes exceptions to be raised instead of returning an empty
result set. The test and test_message runtime modifiers have been
removed in favor of the better logging system. Logs are only explicitly
specified during testing and direct invocation (the level may be set
with --log).