Added edit exercise dialog
Some cleanup, moved some fragment-specific stuff to inner classes.
DoActivity work.