Rename default route set to main
Group name is optional

Unnamed groups contained "orphaned" routes that cannot be referenced
for url generation.
Handler name is optional
Use default instead of index for base restful route
Rewrite fn to return proc instead of array
Fix fn lookup from template
Hooks can be defined in template definition
Hooks can be defined in template expansion or action