Move quickreply code to function template_quick_reply()

I 'd suggest this for easy customization. Those who need to customize
and move the quickreply box will only need to move
template_quick_reply().

I see one more weirdo in the quickreply box size display.

That I will try to attend that in another commit.