more ENSDF cleanup and improvements

This condenses some existing code and fixes some minor bugs and memory leaks. I somehow broke transmute with this though which I don't get.