Added StringExtensions.RemoveIfEndsWith method.