Merge pull request #13950 from calvintam/fix_typos

Fixed typos
Removed unused commented code [ci skip]

As discussed in #13940 this can be removed
We can document this somewhere else in testing guides.
remove gemnasium batch from README. [ci skip]

The rails/rails gemnasium page (https://gemnasium.com/rails/rails) is not helping much.
It lists 0 dependencies so there is not much to track. Also our gems mostly depend
on other gems we control. There is not much point in monitoring them.

The batch was introduced with #3909.
Remove obsolete line (was needed for Ruby 1.8.7 support)
Remove obsolete test (builtin group_by is now used)
Strengthen test with different nb of rows and columns
Return sized enumerator from Batches#find_in_batches
Return sized enumerator from Batches#find_each
Return sized enumerator from Enumerable#index_by
Merge pull request #13938 from marcandre/sized_enumerator

Sized enumerator
fix interplay of humanize and html_escape
Merge pull request #13953 from seanwalbran/fix-humanize-match-reference

fix interplay of humanize and html_escape
Fixed "Hash#to_param confused by empty hash values #13892"
Move test to the right file
Test with a blank value
Refatoring the method to avoid shot-circuit return
Add CHANGELOG entry

Closes #13909
Fix to_query with empty arrays too
update contribution doc grammar. [ci skip]

- Manually applied from #13951.
- Discussion at #13947.
- Removed trailing whitespace from https://github.com/dpmehta02/rails/commit/18044e86af93672dfc38befbe974261e87b3518d

/cc @dpmehta02
synchronize 4.1 release notes with CHANGELOGS. [ci skip]

/cc @chancancode