BUG Security::permissionFailure() fixing permissionDenied hook inconsistency

permissionDenied only works if Security::permissionFailure() is called when
there's currently no logged in Member. This fixes it so failed attempts
with logged in Member also includes the permissionDenied hook.

In addition, fix an undefined $member variable
API: Add sync_blacklisted_patterns for configuring files to skip in sync tasks

Fixes http://open.silverstripe.org/ticket/6210.

Replaces the hardcoded file patterns from Folder::syncChildren() with a new static Filesystem::$sync_blacklisted_patterns to describe files and folder names to skip when running Folder::sync().

Added unit test for Folder::sync()

Extended Folder::sync() to report on the number of file / folders skipped.
Suggest users install curl, tidy on their machines.
FIX: NumericField should work with numbers like 54,6

Fixes http://open.silverstripe.org/ticket/5577.

Uses Zend_Locale_Format::isNumber(). Includes unit test for NumericField. Does not include testing work on DBField underlying NumericField to ensure that works consistently.
FIX: allow cite elements in TinyMCE
FIX: Money should use current locale by default. (Fixes: #6558)
Hacked Zend_Locale to allow lc_XX locale
Reverted 9a52dae207b36293585973d5974072f7bc8ecd4b & ed19bbc3ba2924b2270edbab492e799bfaa0f0f5
Coding conventions. Tidy up of PHPDoc formatting.
Merge pull request #1880 from Zauberfisch/lc_XX

hacked Zend_Locale and re added the lc_XX locale
Merge pull request #1878 from wilr/open5091

FIX: allow cite elements in TinyMCE
Merge pull request #1877 from wilr/5577

FIX: NumericField should work with numbers like 54,6
Merge pull request #1876 from wilr/open6449

Suggest users install curl, tidy on their machines.
BUG Enable dropdown so alignment on images can be updated.
Merge pull request #1874 from wilr/open6210

API: Add sync_blacklisted_patterns for configuring files to skip in sync()
Merge pull request #1884 from mateusz/modify-alignment

BUG Enable dropdown so alignment on images can be updated.
Merge pull request #1756 from halkyon/permission_denied_hook

BUG Security::permissionFailure() fixing permissionDenied hook inconsistency
Fixing broken CoreTest when using silverstripe-cache for temp folder