Replace Set with Hash
Migrate from 2.1 to 2.2

According to instructions at
http://book.cakephp.org/2.0/en/appendices/2-2-migration-guide.html
Add error layout

New in CakePHP 2.2
Fix strict PHP warning
Fix PHP strict error
Load script.js
Merge branch 'feature-cakephp-2.4.1' into development
Fix strict PHP error
Fix strict PHP warning