[common] Refactor, take next_url and base comment template outside consultation.
[aggregation] Add edit record form. Override consultation templates.