splits the global statechange functions.

Now there's a changeControlGroupState(), named more accurately to
describe what it does. There's also changeElemState() for more general use
(changeControlGroupState uses this internally).
Improve profile Add Products.

Items now added/remove live on keyup from textareas. Submit is
deactivated while importers are working. Button is prettied up.

Fixes #45.