some misc. changes
- solved the problem with inifinity scanning (added better error handling)
- added alternative method to CURL via file_get_contents (if http wrapper and allow_url_fopen is enabled) or fsockopen
- updated versions of google hosted files
- fixed issue with problematic detection of protocol used on webserver (http or https), because:
  1. I have nginx as a router where is defined SSL certificate and requests are routed into apache server at port XY without SSL
  2. again I have nginx, but I didn't use parameter "fastcgi_param" to pass HTTPS variable into PHP script
  so it uses scheme relative URL: //example.com/something.js (something about it is at http://paulirish.com/2010/the-protocol-relative-url/)
- fixed regular expressions (problems with search)
- images are parsed by extension (so I added list of supported extensions)