BF: More PEP8 and iteritems() removal

Do not think style issues like all the defines from the edfapi header
file being upper case make sense to 'fix'. They should match what is
used on the C side IMO.