F/3.0 bake improvements 5319

Add two bake improvements:

Add NotFoundException to Controller view and edit methods
Set variables using compact at Controller view method
@AD7six I copied this code from [edit.ctp](https://github.com/cakephp/cakephp/blob/3.0/src/Template/Bake/Element/Controller/edit.ctp) and there isn't a limit.