Deleting programs

Adds the concept of a default program, and a management command to make this happen in existing data.

Adds the ability to delete a program.

http://manage.dimagi.com/default.asp?134960
Ah, yeah the method name is poorly chosen. I just refactored it out to a method to make it less messy but apparently did not understand what the long line was doing to begin with.