Add delete/purge for program states in the workflow

See https://tickets.openmrs.org/browse/TRUNK-3094