package up debug flags, get them out of constants package

I don't really know golang!

![science-dog](https://f.cloud.github.com/assets/345424/2366830/e4717422-a722-11e3-94ea-6555e473356a.jpg)