Implement logging. (4.2.0b)

A log (OGRe.log) is now maintained to handle errors more gracefully.