Added hooks to statistics screen.
Added legacy logs notice.
Added legacy logs JS.
Added legacy logs migrate AJAX functionality.
Added complete migration process.