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
These lists aren't used in the standard templates are they?