Fix issue with inputs() and plugin models.

inputs() should not trigger errors when generating inputs for plugin
models. Previously the internal state of FormHelper was incorrect as
model() returned the plugin name instead of the modelname.

Fixes #3571
BC fixes for habtm. Closes #3545.

Signed-off-by: Rachman Chavik <rchavik@xintesa.com>
Merge branch '2.2'
BC fixes for disabled checkboxes

see: d504642
see: #3545

Signed-off-by: Rachman Chavik <rchavik@xintesa.com>
fix a DboDataSource buildJoinStatement bug that table prefix is appended to subquery
added test to disprove #3588
apply code convention
Merge pull request #1103 from perrywky/master

fix a DboDataSource buildJoinStatement bug that table prefix is appended to subquery

Fixes #3579
Import ClassRegistry before using.

Fixes #3594
Update lib/Cake/Utility/Sanitize.php

Correctly use the $start variable in Sanitize::escape().
Merge pull request #1108 from calinseciu/patch-1

Update lib/Cake/Utility/Sanitize.php
Add cacert.pem file to pear package.

Fixes #3591
Update version number to 2.2.7
Merge tag '2.2.7'

CakePHP 2.2.7

Conflicts:
	lib/Cake/VERSION.txt
Fix help & default properties file.

Having a totally useless default property makes doing releases hard.
Change it to a sane default.
Added a note about plugin assets not working witout url rewrite

http://cakephp.lighthouseapp.com/projects/42880/tickets/25-i-installed-but-dont-see-the-images-and-css-of-debugkit

> Plugin assets do not work without url rewriting, this is in the
documentation for CakePHP itself. I guess it could be repeated for this
and every other plugin.

> I could have sworn it was with the Plugin Assets section, but
apparently its not there. Perhaps its just something I know from
experience.

See also:

* http://cakephp.lighthouseapp.com/projects/42648/tickets/1755-plugin-webroot-without-mod_rewrite-problem
* http://cakephp.lighthouseapp.com/projects/42648-cakephp/tickets/500-plugin-css-directories-bug#ticket-500-8

Signed-off-by: mark_story <mark@mark-story.com>

Refs #GH-1113
Brought \app\Config and \lib\Cake\Console\Templates\skel\Config in sync
Merge pull request #1114 from ravage84/config-sync

Brought \app\Config and \lib\Cake\Console\Templates\skel\Config in sync
coding standards
Fix for CakeShell schema generate for Sqlsrv

Do not generate invalid schema.php when using SQLServer

Refs #3559