add test-case for `Array#to_sentence with blank items.
Merge pull request #10763 from senny/10758_to_sentence_with_blank_elements

test-case for `Array#to_sentence` with `blank?` items.
replace class_eval by define_method in abstract_controller/callbacks