Avoid needing 2to3 nonzero fixer by defining __bool__

By defining both __nonzero__ (for Python 2) and __bool__
(for Python 3) we avoid needing the 2to3 nonzero fixer,
and a runtime choice of method name.

The redundant method seems harmless.