added -d option to enable debugging messages

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
removed old code

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
make -d -d or -dd enable yydebug

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>