Fix travis.ci scripts.
Fix failing tests.

A number of tests have started to fail since App/ was moved. Rework
a number of tests to continue passing with the existing TestApp/
directory.

A number of files have been added/moved and updated, so not many useful
notes can be given.
Fix memcached tests.
Fix more tests.

* Invert assertions as APP is now inside CAKE during core tests.