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
It throws an Internal Server Error and not a Not Found exception.

So, leave it as it was?