Externalise DEBUG into config file

Create a megaphone.conf and have the app get DEBUG setting from there. Change if conditionals to check boolean instead of string "true"