fix exercise and solution type selectors

http://redmine.oerpub.org/issues/461

a lot of this is very similar if not straight up copy/pasta from the note plugin, we might should consider moving all the type selection logic into its own plugin. i'm just not sure how y'all feel about plugins being that granular, does anyone have any other ideas?