Added a .htaccess rewrite rule to remove the trailing forward slash after index.php if there is nothing after it.

Centralized removal of index.php and double forward slashes (//) to the web mode object.

Added code to remove 'assets/<asset_type>' from the request uri in the File framework object.