Add matchEntityType(String) method to EntityType class. Adds BUKKIT-5777