Adding acceptpathinfo clause, fixes to storage.php

## Bug fixes
 - Adding .htaccess clause to stop access of file like 'stats.php/blablabla' fix #187 

## enhancements
 - Make isConnected() public in Storage php
 - Escape '%' and '_' characters in like queries