Adding hasField matcher for checking whether a given class has a public field of the given name.