Fix crash when removing programs (#82)

Add removeProgram/addProgram methods to the program item model to
keep the model in sync with the container.

Change-Id: Ia7eecd2532e57a609c0efaddaa2c265d7e53f9b2
Merge topic 'fix-remove-program-crash' into master

177de1fc Fix crash when removing programs (#82)