Further cleanup of ensdf.py 

This fixes inconsistencies with the way that the half lives were calculated for gamma ray emitting isotopes. It also moves the record parsing code in half_life() to separate functions so that it can be re-used elsewhere.