handling closed_content issues with view api

This is not really ready to merge; just wanted to put up a PR for conversation purposes.
The above disentangles the permission setting (:perms=>:none) from the closed view handling.  The basic notion is that :closed=>true means that the view is ok to render in closed mode, whereas any other value (eg :closed=>:blank) will set the view to use there.

But :perms=>:none was even more overloaded than that -- it has been used (and is still used above in the :edit case) to identify which views should not be included in edit forms.  The current changes kind of bust up that hack.

But it is definitely a hack and should be fixed.  The more I look at this, the more I think that we should flip the API and make it so that only specified views (presumably those containing content) should show up in forms.