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
That's right. Maybe you don't want these variables in a view.

So maybe just compact the currentModelName.