install: add --enable-debug=yes/no to set specific compiler flags for gdb, valgrind

thanks, Icinga 2! You're an inspiration :)

fixes #4387