Fix wrong return value in String.endsWith when sub.length > str.length
Merge pull request #508 from shashi/dev

Fix wrong return value in String.endsWith when sub.length > str.length