Added test case for String#end_with? with string of length 2.
Fix for string-length-related issue in String#end_with? logic.
Refactor of String#end_with? comparison logic.
Merge pull request #1485 from fjmilens3/string_end_with

Bug in String#end_with? resulting from incorrect length determination