Added Packet.has_layer

Added method `has_layer' to check whether a packet contains a given layer,
e.g. dpkt.dns.DNS.