Improvements to manage resources page.

In particular, it is now possible to create multiple resources in a row,
and form errors (although fairly hard to cause) will be rendered in the
form.
Tweaks to manage resources page.

Allows creation of root resources.  Adds back help texts and includes
explanatory text.  Adds some comments in the code.