Improve run-ci's change detection

Ensure that the prefix matches the directory. Using the
entire string results in things like 'php' being run when only
'cakephp' was modified
Set db_url to correct endpoint for a single world
Fix CakePHP's json
Move cake framework to cakephp
Update cakephp files with new directory