Collision free approach to resolve the DOM ID issue in a clean way. Fix to generation of ids for multiple checkboxes. Resolves ticket 4064.
prevent possible XSS attack via form helper selects and unescaped output.
Also make DOM ids for radio element values unique.
fix cs
Merge pull request #1635 from dereuromark/master-dom-ids

Fix duplicate ID generation of for multiple checkboxes.
Add tests for uncovered case of :0 replacements.

There were previously no tests for the :0, :1 style replacement markers
in DboSource. In fact I didn't even know it was a 'feature'.
Add test to prove issue when saving invalid tree data
Fix test by checking against an empty array instead of `false`
Merge pull request #2557 from rchavik/2.4-save-tree-invalid-scope

2.4 save tree invalid scope
Added composer.json for CakePHP 2.x
Merge pull request #2564 from josegonzalez/master

Added composer.json for CakePHP 2.x
Add missing pkpass mimetype
Must double quote the schema name in query

Schema names with reserved words such as "create" will fail this query without double quotes. 

Attempted prepared statement with ? placeholder. This failed with the following CakePHP error:

Error: A Database connection using "Postgres" was missing or unable to connect.	
The database server returned this error: SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near "$1" LINE 1: SET search_path TO $1 ^
Merge pull request #2570 from dereuromark/master-pkpass

Add missing pkpass mimetype
Remove ext-mbstring dependency.

mbstring is not a hard dependency for 2.x. The Multibyte class can shim
up the missing extension.

Refs #2564
Update some grammar in Controller
Merge pull request #2572 from bcrowe/hotfix-controllerBlocks

Update some grammar in Controller
Merge pull request #2571 from cuppett/patch-1

Must double quote the schema name in query