Update cakephp 2.3.1 including base files

Please update your submodules
Fix join sub query to array format
Fix search order with new configurable defaults

QueryBuilder::build() requires now explicit default search parameters instead
of combined parameters. This improves the order of matches with fields. If no
explicit sort order is given media with more fields get ranked higher.
Fix test and import missing AppController
Rewirte test for PhtagrTestCase
Update cakephp to 2.3.5
Merge branch 'master' into cakephp-2.3.1
Fix setup procedure
Format comments
Fix image navigator