make Crud Action View kinda work
use first() instead of accessing as array
fix Listener/ApiPagination
Fix ApiQueryLog for cake 3.0