Update error400 and error500 error pages to use new layout.

Use the new layout in CakePHP core for the 'dev' version of error pages.
Merge pull request #186 from cakephp/error-pages

Update error400 and error500 error pages to use new layout.