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