[IMP] qweb debug mode restricted to --dev mode

Also moved the set_trace call in top of render_node() function so it
makes more sense.