Add ItemStack.hasMetadata(String key)

This provides an efficient mechanism for the common use case of wanting
to check for the presence of a specific metadata key without unpacking
all of the metadata.