Fix fatal errors in bootstrapping.

CakePHP has recently changed to use PSR-4 autoloading, and had some
internal paths change. We need to reflect those here.