Bugfix in running ObjectMethods declared by global modifications.
Optimization when State#getByPath checks field names for ObjectMethods.
Merge branch 'release/2.4'
Returns get|is|has ObjectMethod name restriction removed in 2aac28e to remain compatible with the optimization in 467a8e9.