Add 'make before-push' target.
Stop using more deprecated test methods.
Use for loop instead of map.
NEWS entry for python3 changes.