Refactor detail views - prepare them to be reused as readonly.
[aggregation] Add two details - readonly views.
[aggregation] Add:
- detail views
- finalized status toggle views
- permissions for finalize operations
Fix nasty bug in update_extra_fields.
[aggregation] Next url depends on submit value; redirect to finalize if necessary.