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.
Done, https://github.com/asergeyev/dns/commit/05bec3968af02201d7de062038cb176d365c9210