Use getopt in the bsc_hack to parse options

Current options include a draft of the help screen, an option
to disable the colors and to specify the debug categories to
show.
diff --git a/src/debug.c b/src/debug.c
index c1bebca..27fdb9c 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -53,6 +53,11 @@
 
 static int use_color = 1;
 
+void debug_use_color(int color)
+{
+	use_color = color;
+}
+
 /*
  * Parse the category mask.
  * category1:category2:category3