Reshuffle in timeman.cpp

Move template definitions before call site.

No functional change.
Reshuffle in uci.cpp

Move function definitions before call site.

No functional change.
Move args parsing to UCI::loop

This leaves a very clean main.cpp

No functional change.