iota states

I thought this made the code a bit easier to reason about and should still print the same when a human needs to read it (marshalling interfaces could be added, as well). They're at the top of the page as const but it's not immediately clear those are (the only?) states until you go looking for them. If the set of states is meant to be expandable I could see this change not being desirable (and breaks any compatibility, if you guaranteed that), but thought I'd throw this in the hat. Thanks for the implementation.
hmm, for brevity and maybe readability, I would agree. on the other hand it makes String() allocate a map in each call or we populate the package with a global map for state strings. Let me know what is preferred I will gladly make change. Either way makes State more understandable and I would be happy.