minor tweaks and optimizations: minimize function calls in _fetch_uri_string(); use constant PHP_SAPI instead of function php_sapi_name()
Merge pull request #2127 from TheDigitalOrchard/uri-lib-optimizations

minor tweaks and optimizations to URI library
Fix SQLSRV escape_str()
Unify escape_str() array input and LIKE logic

Added protected method _escape_str() to deal with quote escaping.
URI->_remove_url_suffix() : suffix has to be at the end of uri_string

related to #2135
A tiny improvement
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
Implement autoload model aliasing (#2117)