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
except if `id` is `null` it will actually throw a ``InvalidArgumentException`` https://github.com/cakephp/cakephp/blob/3.0/src/ORM/Table.php#L957
if I understood it correctly. maybe we should always throw a NotFoundException, I can update it if you agree