CRM-14091 for 4.2-LTS.
CRM-14092. Generate blank index.html files in public directories.
Account for differing path structures in different CMS backends.

Conflicts:
	CRM/Utils/Check/Security.php
CRM_Utils_Check_Security - Change case of function names

Conflicts:
	CRM/Utils/Check/Security.php
CRM_Utils_Check_Security - Make getFilePathMarker non-static

If we write tests for this, it will be harder to run with different markers
if the function is static.
CRM_Utils_Check_Security - Split allChecks in two:

 * checkAll - Simply aggregates the other checks
 * showPeriodicAlerts - Application logic for when/how to run check

Conflicts:
	CRM/Core/Page.php
	CRM/Utils/Check/Security.php
CRM_Utils_Check_Security - Remove hard dependency on CRM_Core_Session::setStatus
More consistently restrict access to template, config/log, and upload dirs.
CRM_Utils_Check_Security - Autoformat
CRM-14091 - Change URLs for doc links

----------------------------------------
* CRM-14091:
  http://issues.civicrm.org/jira/browse/CRM-14091
CRM-14092 - Restrict browsing of imageUploadDir via imageUploadURL

Previously, it attempted to restrict browsing of uploadDir and
configAndLogDir.  However, this is extraneoous because we have other checks
to ensure that those directories are inaccessible.  However, imageUploadDir
is different because we want to expose its file -- we just don't want to
expose a listing of them.

This commit also breaks out checkDirectoriesAreNotBrowseable() into
three functions.

----------------------------------------
* CRM-14092:
  http://issues.civicrm.org/jira/browse/CRM-14092

Conflicts:
	CRM/Utils/Check/Security.php
CRM-14092 - CRM_Utils_Check_Security::isBrowseable - Fix warning

We don't care if there's an HTTP 404 when checking for browsability --
because 404 is another of saying "not browseable!"
CRM-14091, CRM-14092 - Defensive programming
CRM-14091, CRM-14092 - restrictAccess - Avoid unnecessary writes

Conflicts:
	CRM/Utils/File.php
Merge pull request #58 from fuzionnz/4.2-CRM-1409x

4.2 CRM-14091 and CRM-14092