Rakefile builds gem now, ruby version 1.9.1 allowed
Revert addition of ruby 1.9.1, travis doesn't support.
Fixes gemspec, rakefile, and travis.yml

Updates all to work so that rake can build gem and travis
can test up to ruby-head and test that gem builds.
Added a root check when setting for raw socket
Add a check for root when using raw sockets
Fix issue #1, packet_size cannot be set

Inspired by https://github.com/bluemonk/net-dns/issues/64 patch by
svenXY
Greatly simplify the nameserver settings

This commit makes the method of changing a resolvers nameservers more
functional and less buggy.  For example, using a hostname rather than
ip for setting the nameserver is no longer buggy (the previous
implentation would result in preserving the default nameserver and
would append the inspected form of the IPAddr object of the new nameserver)

This commit consolidates the location of changing @config[:nameservers]
into a single location.
Change nameserver= to use duck typing
Add specs for nameserver=
Fix domain handling on windows

Should fix https://github.com/bluemonk/net-dns/issues/38
Add TXT#get_inspect, fixes #22
Properly parse TXT records from string
Add basic TXT tests
Fix Net::DNS::RR::SOA.build_pack
Fix warning on unsupported record types in additional records
Allow creating empty packets
Fix Net::DNS::Names.valid?

It doesn't make much sense to test for a fixed list of TLDs as the list will
change every now and then. Instead add some more checks for syntax correctness,
and allow a trailing dot; also make the method accept the root domain ".".
Net::DNS::RR::SOA.subclass_new_from_string: fix bogus number checks
Net::DNS::RR::SOA: only check the domain part of a RNAME for validity

If the mailbox part of a RNAME contains dots, they have to be masked with
backslashes, making the RNAME an invalid domain name. For such a RNAME to
be recognized as valid add a RNAME validation method that only checks the
domain part for validity.
Fix stylistic issues related to neoraider's changes