cacheDir value was improperly handled under Windows
Mime type for remote files cannot be detected with PEAR MIME_Type
Simplify path detecting regexp
Merge pull request #1 from r8/master

Fixed cacheDir handling under Windows and Mime type detection for remote files