Split the viewquery template out of AdminDebug.controller and moved to Admin.template + splitting of the action_viewquery method

Signed-off-by: emanuele <emanuele45@gmail.com>
Splits up BadBahaviour::action_log

Signed-off-by: emanuele <emanuele45@gmail.com>