Adds string.endsWith method that performs fast string suffix check