refactor: minor tweaks in section auto-openning by hash
fix: deleting a root project received a bad redirect

I added also a centralized place to retrieve module information, since
it is needed accros the application, and the relevant pieces of info are
difficult to retrieve, depending on the page type and context.
fix: include chooser dialog in image new page
new: set focus on first text field in an open section for edit or new
new: add default initial commit message on module creation

The message reads "Initial version of this [module type].".