cakephp 2.5 compability. memcache engine has been replaced by memcached ...

...engine. and the afterlayout signature didn't match. don't think we should actually use the layoutfile param since it might give funny results here. i think it's better to stick to the "here" value :-)