Unify Options Handling
Currently each startup script handles its own options processing, and the 6 or so standard options code (-l -L -c -q -r) is c&p into each.
This results for example in differences between option handling such as regarding config file loading in ui.py and main.py:start_ui not to mention it is just bad form.
This patch subclasses OptionParser and handles the default options in a central place. It is mostly just moving code around.
There are possibly better ways to handle this, maybe create a class of StartupTarget of which StartUI, StartDaemon and _UI are subclasses of and handle options there, but this way has the smallest affect on the existing code.
Add bro to cc