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
should add a test assertion for sql products to see if that would have caught the (i think?) bug above