Added some basic error checking on query messages

* Make sure response flag is 0 on queries
* Added some Rcode constants to dns package
* Cleaned up constants to all use the idiomatic naming scheme
* Method for sending back failure messages