Some tokens only worked in upper case, fixing that.

As we discussed in #108, this is your patch with some more tests around it. I also found that bind supports $ORIGIN and $TTL in mixcase too and added fix for that.
Yeah, sorry, I pulled your changes making sure tests will still work when things merged together but github decided to treat them as part of pull request... I'll see if I can do anything about it.