Strict in_array for mixed id variable types

Setting the in_array check to strict, as this would return true
incorrectly when and if values are of mixed type.
Update doc block.
Update helper usage to 2.x style in code examples
Added App::uses to the PluginAppController and PluginAppModel bake templates
removing extra newline in baked files
Make sure sessions are started before destroying them.

Fixes #3551
Fix Hash::get($data, '0')

Fixes #3555
Fix failing tests.

I have no idea why the updated session test was expected to fail as the
data was written to the session.

Refs #3551
Remove some spacial overkill
Merge pull request #1084 from petteyg/bakedbtabspace

Remove some spacial overkill
Add tests for #3545

Fix included in GH-1075

Closes #3545
Merge branch 'pr-1075'

Merge changes in pull request 1075.
Fix Token fields being added to GET forms.

They are not used so there is not much point in appending them.

Fixes #3565
Update version number to 2.2.6
BC fixes for habtm. Closes #3545.

Signed-off-by: Rachman Chavik <rchavik@xintesa.com>
Update version number to 2.2.7
Enforce model aliases when generating order by clauses.

Invalid SQL could be created by sorting on an invalid alias, with
a field that exists on the model.

Backport c327bdc4bd309ce07fe2c20a2a9123f2165cae76 from 2.3 to 2.2.
Update version number to 2.2.8
Merge tag '2.2.8' of git://github.com/cakephp/cakephp into 2.2-true

CakePHP 2.2.8