URI->_remove_url_suffix() : suffix has to be at the end of uri_string

related to #2135
URI->_remove_url_suffix() : more efficient code

related to #2135
Merge pull request #2145 from vlakoff/develop

URI->_remove_url_suffix() : suffix has to be at the end of uri_string