add endsWith method

https://github.com/dealerlogix/dl-net/issues/898