added --log-level option and USR1 and USR2 signals to update log level on the fly
added log level handling to debian default file and init script

- fixed indentation in main.c